Quote:
Originally Posted by Jaxel
MegaVideo changes their API CONSTANTLY... I've had to update the importer for them about 7 times now...
|
I though I might have found a solution for that but it's not working in my thumbnail rebuild that's running right now. I tried a few of the previous versions as well but the one in the current version appears to be correct. If I import a video from megavideo, it captures the thumbnail. If I try to rebuild the older ones, it will not pull the thumbnail and I lose the new one I imported. I am searching now to see what the difference is with the rebuild vs the import.
Quote:
Originally Posted by EquinoxWorld
Hello Jaxel, Thank for your response. Is it maybe possible for us to get a tut of some sorts so we can change the importer ourselves or is it too complicated? I am more or less familiar with the API but have very little experience with the importers. Either way it would be very helpful to all members who use this mod and I am sure less of a burden for you .  Thanks again for your quick reply though. I hope we can get this updated at some point, Megavideo represents about 50% of our imports. Any help with this would be as always very much appreciated.
|
It's not hard to change. On the media main page, click on the "Administrate" dropdown and select "Services". Then find the Megavideo line and select "edit" on the right. I think this is what needs to be changed for the thumbnails but I am not sure:
Code:
preg_match('#[\w+%.-]*'.$service['serviceVAL'].'([\w]*)[\w+%.-]*#i',$arr['ROW']['embed'],$match);$thu='http://img1.megavideo.com/'.$match[1].'.jpg'
This API works for me if I import a new video but not on the rebuild.