Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com
Would the lmce-autotagger work with Dianemo 10.10? I am using Dianemo which currently doesn't have IMDB tagging or functional Amazon. Would love to use autotagger.
I will answer my own question - YES, autotagger works on Dianemo 10.10. First try and flawless. Great job! PM me a Paypal address for donation!
#!/bin/bashfor each in public user_2 user_1 user_5docd "/home/$each/data/videos/TV" find . -mtime -1| egrep -e 'avi|mkv|xvid|ts|m2ts' | grep -v id3 | while read "files"dofile=`echo "$files" | cut -f2 -d"/"`name=`echo "$files" | cut -f4 -d"/" | cut -f1 -d"."`nfo=`echo "$files" | cut -f1-2 -d"."`title=`cat "$nfo.nfo" | grep title | cut -f2 -d">" | cut -f1 -d"<"`aired=`cat "$nfo.nfo" | grep aired | cut -f2 -d">" | cut -f1 -d"<"`rm "$files.id3"touch "$files.id3"id3v2 --TIT2 "$name - $title" "$files.id3"id3v2 --TYER "$aired" "$files.id3"eyeD3 --add-image="./$file/folder.jpg":OTHER "$files.id3"donedone
Done! New AttributeID = 28419|| Now for file...Done! New AttributeID = 28420|| Now for file...Done! New AttributeID = 28421|| Now for file...Done! New AttributeID = 28422|| Now for file...Done! New AttributeID = 28423|| Now for file...Getting Pic for file
Corrupt JPEG data: premature end of data segment QUrl( "http://cf1.imgobject.com/backdrops/4bc/4bc90714017a3c57fe0024bc/miller-s-crossing-original.jpg" ) QUrl( "http://cf1.imgobject.com/posters/dbc/4bc92c4b017a3c57fe011dbc/bad-santa-original.jpg" )
Hey golgoj4,I know you are flat out with other things - so am hesitant to interrupt, but thought I might ask if you know what might be going on.I can run this on my movie collection (dcerouter:~/autotagger$ sudo ./linuxmceTag.bin /directory/location )... but if I try on a large amount of media - it keeps hanging due to what seems like corrupt jpegs. E.g.Code: [Select]Done! New AttributeID = 28419|| Now for file...Done! New AttributeID = 28420|| Now for file...Done! New AttributeID = 28421|| Now for file...Done! New AttributeID = 28422|| Now for file...Done! New AttributeID = 28423|| Now for file...Getting Pic for fileCode: [Select]Corrupt JPEG data: premature end of data segment QUrl( "http://cf1.imgobject.com/backdrops/4bc/4bc90714017a3c57fe0024bc/miller-s-crossing-original.jpg" ) QUrl( "http://cf1.imgobject.com/posters/dbc/4bc92c4b017a3c57fe011dbc/bad-santa-original.jpg" )Is there any way to force the script to continue? The failures seem to be a bit random. An image it failed on in the past - it will breeze through the next time. Files prior to this point get tagged correctly (assuming the name is found in IMDB).Can anyone else duplicate this on a largish media collection?Thanks!WR.p.s - not sure if it supposed to work but the "Auto Tag" button in media file sync doesn't do anything for me.
Yep - it hangs for me.... has been @ 5:30 for the last 40min. Stuck at the Getting pic for file output again. Let me know if you need any info / testing.Thanks!WR.