Thumbnail Overlay Generator - makeshift HD video flagging script - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Discussions (https://forum.kodi.tv/forumdisplay.php?fid=222) +--- Forum: Kodi related discussions (https://forum.kodi.tv/forumdisplay.php?fid=6) +--- Thread: Thumbnail Overlay Generator - makeshift HD video flagging script (/showthread.php?tid=39399) |
- midgetspy - 2008-12-10 Rocky5: Try this file and paste the debug output: http://nic.wolfeden.ca/tog/0.3.3-BETA2/tog.py - Rocky5 - 2008-12-10 Ok got it all working that new tog.py file works wonders now ffmpeg can read my files. this is how i got it working on XP python version 2.6 ( 3.0 final doesn't work ) the new tog.py file above. and my batch file to do it all for me. ( as i have different kinds of files ) will post this when done for us windows users. - midgetspy - 2008-12-10 Please post the errors you get when using Python 3.0, I'll see if it's easy to fix. - Rocky5 - 2008-12-10 midgetspy Wrote:Please post the errors you get when using Python 3.0, I'll see if it's easy to fix. I get no error log. i don't have it installed any more but the error i got said it couldn't find ffmepg and that the syntax is incorrect for these and " and ' also would it be possible for you to add in the option for size of the overlay images please as i use the xbox and there quite small down there at the bottom. i have a hd 32 inch tv but sitting back from the screen there still a little hard to view. i wear glasses also there slightly off. - cptplanet - 2008-12-10 midgetspy Wrote:Well I have no idea what 5:1\r means in the ffmpeg output, I guess just another special case that I haven't run into. There was stereo\r too? I'll add them into 0.3.3 which I'll release soon. (was it 5:1\r or 5:1/r ? You have both in your post) hereĀ“s the (working) code: Code: elif channels =="5:1\r": this "\r" only returned at *.mkv files. - Clumsy - 2008-12-11 @midgetspy: Here is the debug log, thanks ! Don't have the time to look into the regexp at the moment, will do next time This is ffmpeg from intrepid btw. http://pastebin.com/m6510b39e - midgetspy - 2008-12-11 Rocky5: You can change the size by adjusting the IMG_HEIGHT config variable. It's default 0.09 which mean 9% of the thumbnail height. cptplanet: Could you please turn DEBUG=1 and scan one of the files with the 5:1\r and paste the result? I'm curious to see what it says. Once hotzenpl0tz pastes his debug log I'll fix his issue and release 0.4. EDIT: haha he beat me. Grr, that debug logfile violates an assumption that I've been making the entire time... time for a different approach I guess, hehe. - Clumsy - 2008-12-11 Hehe, yeah - was looking at the code a bit and it seems you will have to do a more robust check to see if a value is missing and the value you are looking for is the correct one. I think an assumption that is safe would be that you will have a tuple that looks something like "int"x"int""space""openbracket" for your resolution check. - Rocky5 - 2008-12-11 Ok here is the batch file that will do everything for you some people may find this useful. Thumbnail Overlay Generator batch ( Windows only ) Pros 1. Configurable 2. has restore feature ( Only appears if backup is present ) 3. easy to use Cons 1. Can convert through sub folders but restore cant yet will do that soon. Download this batch will hide *.nfo and *.tbn files once done if you done want this then turn it off you need to edit the batch file with notepad and look for this Code: :: Hides the files i dont want to see again. Note you still need to configure tog.py also here is my icons 50% transparent and normal Download Settings for them Tog.py edit with notepad Code: change these xxx = to the number after them - midgetspy - 2008-12-11 OK guys, OP updated with tog-0.4.0. I believe it fixes all the issues which were brought up, if you encounter more problems with the ffmpeg scan please post your debug output here. Note that the config has been moved to tog/config.py. In future versions you can just not overwrite your config.py to keep your settings. - Ayla - 2008-12-12 rocky5 In your screenshots, it looks like you added my thumbnails to your covers as jpg or something? They are square in your screenshots, the black at the top and bottom should not be visible (it's not visible in my png's). Just thought I'd mention it - Rocky5 - 2008-12-12 Ayla Wrote:rocky5 Ok got you your really should Quote posts lol. That's because i just right clicked them and saved the thumbs lol OK how does this look trying something different also going to change the background overlay and maybe the font as i cant get / or Edit: in the new version of this script v0.4.0 when it scans all my videos it put them all 5.1 surround but before in v0.3.3 they were all stereo now am sure this is a bug as all my .avi files are 2 channels audio so that's stereo. - midgetspy - 2008-12-18 I just noticed this edit... I'll look into it. In the meantime post the debug output please, it'll help me narrow down the problem. EDIT: Nevermind, one look at the code and it's obvious the problem. 0.4.1 will be up in a second. EDIT2: OK 0.4.1 is up, audio bug fixed. Ready made icons for this - Gamester17 - 2008-12-18 Loads of great looking overlay icons of this type can be found on MediaPortal's download page here (with PSD): http://www.team-mediaportal.com/files/Download/HTPCcustomization/orderby,2/page,2/ Download here: http://www.team-mediaportal.com/files/Download/HTPCcustomization/TVSeriesLogos/ http://www.team-mediaportal.com/files/Download/HTPCcustomization/TVSeriesLogos-ReVision(Replicant)/ http://www.team-mediaportal.com/files/Download/HTPCcustomization/TvLogos-BlueandGreen/ http://www.team-mediaportal.com/files/Download/HTPCcustomization/TvLogos-BlueandSilver/ and even more in this MediaPostal forum thread => http://forum.team-mediaportal.com/my-tvseries-162/tvseries-logos-21816/ Quote:Source psd is included ithe pack and can be modified. - Rocky5 - 2008-12-19 In the new version bin files no longer get scanned they did in the old version. |