Kodi Community Forum
[RELEASE] Movie Set Artwork Automator - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Program Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=151)
+---- Thread: [RELEASE] Movie Set Artwork Automator (/showthread.php?tid=153502)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38


RE: [RELEASE] Movie Set Artwork Automator - Milhouse - 2013-02-01

Or perhaps the search option I need is "All set members in single folders", then perform the scan as outlined above (query db, check for artwork in each set folder and apply if found).

"Common parent folder" sounded like what I wanted, but may need to be made clearer if it is actually assuming each movie is in its own folder within the parent folder. Then again, this option would still work for me if the add-on also looked at the sets table, deduced that the parent folder of the movie is actually the set folder and then took the artwork from the set folder and not the parent of the set folder... but probably easier to add a third option that explicitly specifies this behaviour.


RE: [RELEASE] Movie Set Artwork Automator - trentf - 2013-02-01

(2013-02-01, 12:01)MilhouseVH Wrote:
(2013-02-01, 11:43)trentf Wrote: MilhouseVH, are you storing multiple movies in the same set folder? ie All alien anthology movies under a single alien anthology folder?

Yes, all Alien movies are in the same "Alien Anthology" folder. I would suspect a lot of people have it this way.

(2013-02-01, 11:43)trentf Wrote: You might want to use an artwork folder instead if that is the case.

Rather than change my library, would it be possible for the add-on to respect the "set" tag? If necessary with a third search method "Scan using set folders" (or similar) as an alternative to "common parent" (which isn't now clear to me as I assumed this is what I had) and "single artwork folder".

All my nfo's have the <set> tag and so the database can tell you where the sets are - you don't need to infer it from common parents. So, if you look in the sets database table you can determine which folders are set folders, scan each folder for folder.jpg/fanart.jpg and then update the set with the new artwork.

1. Query sets
Code:
select *
from sets s join art a on (s.idSet = a.media_id)
where a.media_type='set' and a.type in ('fanart', 'poster')

then for each set...

2. Skip the set if "poster" is already set to "folder.jpg", and "fanart" set to "fanart.jpg"

3. Look in filesystem folder for the set to see if folder.jpg and fanart.jpg exist, and apply them to the set if so.

The script is already "respecting" the set tag, that is how it works now when searching the movie table (your log shows it found the movies, just not the artwork). From reading threads on people requesting this movie set feature, only the common parent or single folder methods were described/requested, so that's what I implemented. Personally I use separate folders per movie and the common parent approach, as artwork stored that way then works in both Video and Movie views of XBMC.

FYI that query will give you the list of sets and current artwork folders, but that may not be enough if the artwork is currently assigned to something else and you want it to use what is in your set folder. So what I do is search the locations of the movies themselves that make up the set.

I could add that 3rd option or perhaps just add a check to common folder mode that if all the paths of movies within the set are the same, use that folder instead of the parent. Would that be preferable?



RE: [RELEASE] Movie Set Artwork Automator - Milhouse - 2013-02-01

(2013-02-01, 12:28)trentf Wrote: I could add that 3rd option or perhaps just add a check to common folder mode that if all the paths of movies within the set are the same, use that folder instead of the parent. Would that be preferable?

Whatever is easiest for you - your second suggestion would certainly work for me (and probably also fall within the description "common parent", which is what I thought I had!) so yes, if all movie paths within the set are the same then assume that folder rather than the parent. Thanks! Smile


RE: [RELEASE] Movie Set Artwork Automator - keisuji - 2013-02-01

I use one big folder for all the sets images and it do not work for me either. Here is a part of my debug log. Hope it helps

Code:
11:46:50 T:3744   DEBUG: XBPyThread::Process - Entering source directory C:\Users\htpc\AppData\Roaming\XBMC\addons\script.moviesetart.frodo
11:46:50 T:3744   DEBUG: Instantiating addon using automatically obtained id of "script.moviesetart" dependent on version 2.0 of the xbmc.python api
11:46:50 T:3744   DEBUG: LocalizeStrings: no translation available in currently set gui language, at path C:\Users\htpc\AppData\Roaming\XBMC\addons\script.moviesetart.frodo\resources\language\German
11:46:50 T:3744   DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\htpc\AppData\Roaming\XBMC\addons\script.moviesetart.frodo\resources\language\English, fallback to strings.xml
11:46:50 T:3744  NOTICE: [MovieSets] Yes, json use speedup :)
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - ############################################################
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    Movie Set Artwork Automator (Frodo)                   #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    script.moviesetart                                    #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    Trent Fitzgibbon                                      #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    0.1.3                                                 #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #                                                          #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    Thanks to Frost (passion-xbmc.org) for example        #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    code used in this addon                               #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - ############################################################
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Search common folders: 0
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Enable artwork folder: 1
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Artwork folder: smb://192.168.2.11/Shared/SetsImages/
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Include sub folders: 0
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Thumb filename: folder.jpg
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Fanart filename: fanart.jpg
11:46:51 T:2964   DEBUG: ------ Window Deinit () ------
11:46:51 T:2964   DEBUG: ------ Window Deinit (Pointer.xml) ------
11:46:51 T:2964   DEBUG: ------ Window Init () ------
11:46:51 T:2964   DEBUG: ------ Window Init (Pointer.xml) ------
11:46:51 T:2824   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xbb35e08
11:46:51 T:3744   DEBUG: Previous line repeats 1 times.
11:46:51 T:3744   DEBUG: LocalizeStrings: no translation available in currently set gui language, at path C:\Users\htpc\AppData\Roaming\XBMC\addons\script.moviesetart.frodo\resources\language\German
11:46:51 T:3744   DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\htpc\AppData\Roaming\XBMC\addons\script.moviesetart.frodo\resources\language\English, fallback to strings.xml
11:46:52 T:2964   DEBUG: ------ Window Init (DialogYesNo.xml) ------
11:46:52 T:2824   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xbb35e08
11:46:54 T:2964   DEBUG: Previous line repeats 3 times.
11:46:54 T:2964   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
11:46:54 T:2964   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
11:46:54 T:2964   DEBUG: ------ Window Deinit (Pointer.xml) ------
11:46:54 T:2824   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xbb35e08
11:46:54 T:2964   DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
11:46:54 T:2964   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
11:46:54 T:2824   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xbb35e08
11:46:54 T:2964   DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Parsing advancedsettings.xml
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Using MySQL connector: {'host': u'192.168.2.11', 'pass': u'7po4cu89', 'port': u'3306', 'user': u'xbmc'}
11:46:54 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - Updating artwork for Movie Sets
11:46:54 T:3744   DEBUG: DialogProgress::StartModal called
11:46:54 T:3744   DEBUG: ------ Window Init (DialogProgress.xml) ------
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Artwork folder image map: {}
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Processing movie set: Fast and Furious The Complete Collection
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Existing cached thumb: C:\Users\htpc\AppData\Roaming\XBMC\userdata\Thumbnails\Video\7\7dfb035a.tbn
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Existing fanart: C:\Users\htpc\AppData\Roaming\XBMC\userdata\Thumbnails\Video\Fanart\7dfb035a.tbn
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Processing movie set: Alien Total Destruction Collection
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Existing cached thumb: C:\Users\htpc\AppData\Roaming\XBMC\userdata\Thumbnails\Video\0\0f105c89.tbn
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Existing fanart: C:\Users\htpc\AppData\Roaming\XBMC\userdata\Thumbnails\Video\Fanart\0f105c89.tbn
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------



RE: [RELEASE] Movie Set Artwork Automator - trentf - 2013-02-01

(2013-02-01, 12:33)MilhouseVH Wrote:
(2013-02-01, 12:28)trentf Wrote: I could add that 3rd option or perhaps just add a check to common folder mode that if all the paths of movies within the set are the same, use that folder instead of the parent. Would that be preferable?

Whatever is easiest for you - your second suggestion would certainly work for me (and probably also fall within the description "common parent", which is what I thought I had!) so yes, if all movie paths within the set are the same then assume that folder rather than the parent. Thanks! Smile

I have implemented your feature request, grab the latest.

(2013-02-01, 12:57)keisuji Wrote: I use one big folder for all the sets images and it do not work for me either. Here is a part of my debug log. Hope it helps

Code:
11:46:50 T:3744   DEBUG: XBPyThread::Process - Entering source directory C:\Users\htpc\AppData\Roaming\XBMC\addons\script.moviesetart.frodo
11:46:50 T:3744   DEBUG: Instantiating addon using automatically obtained id of "script.moviesetart" dependent on version 2.0 of the xbmc.python api
11:46:50 T:3744   DEBUG: LocalizeStrings: no translation available in currently set gui language, at path C:\Users\htpc\AppData\Roaming\XBMC\addons\script.moviesetart.frodo\resources\language\German
11:46:50 T:3744   DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\htpc\AppData\Roaming\XBMC\addons\script.moviesetart.frodo\resources\language\English, fallback to strings.xml
11:46:50 T:3744  NOTICE: [MovieSets] Yes, json use speedup :)
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - ############################################################
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    Movie Set Artwork Automator (Frodo)                   #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    script.moviesetart                                    #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    Trent Fitzgibbon                                      #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    0.1.3                                                 #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #                                                          #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    Thanks to Frost (passion-xbmc.org) for example        #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - #    code used in this addon                               #
11:46:50 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - ############################################################
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Search common folders: 0
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Enable artwork folder: 1
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Artwork folder: smb://192.168.2.11/Shared/SetsImages/
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Include sub folders: 0
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Thumb filename: folder.jpg
11:46:50 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Fanart filename: fanart.jpg
11:46:51 T:2964   DEBUG: ------ Window Deinit () ------
11:46:51 T:2964   DEBUG: ------ Window Deinit (Pointer.xml) ------
11:46:51 T:2964   DEBUG: ------ Window Init () ------
11:46:51 T:2964   DEBUG: ------ Window Init (Pointer.xml) ------
11:46:51 T:2824   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xbb35e08
11:46:51 T:3744   DEBUG: Previous line repeats 1 times.
11:46:51 T:3744   DEBUG: LocalizeStrings: no translation available in currently set gui language, at path C:\Users\htpc\AppData\Roaming\XBMC\addons\script.moviesetart.frodo\resources\language\German
11:46:51 T:3744   DEBUG: LocalizeStrings: no strings.po file exist at C:\Users\htpc\AppData\Roaming\XBMC\addons\script.moviesetart.frodo\resources\language\English, fallback to strings.xml
11:46:52 T:2964   DEBUG: ------ Window Init (DialogYesNo.xml) ------
11:46:52 T:2824   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xbb35e08
11:46:54 T:2964   DEBUG: Previous line repeats 3 times.
11:46:54 T:2964   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
11:46:54 T:2964   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
11:46:54 T:2964   DEBUG: ------ Window Deinit (Pointer.xml) ------
11:46:54 T:2824   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xbb35e08
11:46:54 T:2964   DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
11:46:54 T:2964   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
11:46:54 T:2824   DEBUG: NEWADDON PythonCallbackHandler construction with PyThreadState 0xbb35e08
11:46:54 T:2964   DEBUG: ------ Window Deinit (DialogYesNo.xml) ------
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Parsing advancedsettings.xml
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Using MySQL connector: {'host': u'192.168.2.11', 'pass': u'7po4cu89', 'port': u'3306', 'user': u'xbmc'}
11:46:54 T:3744  NOTICE: [Movie Set Artwork Automator (Frodo)] - Updating artwork for Movie Sets
11:46:54 T:3744   DEBUG: DialogProgress::StartModal called
11:46:54 T:3744   DEBUG: ------ Window Init (DialogProgress.xml) ------
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Artwork folder image map: {}
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Processing movie set: Fast and Furious The Complete Collection
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Existing cached thumb: C:\Users\htpc\AppData\Roaming\XBMC\userdata\Thumbnails\Video\7\7dfb035a.tbn
11:46:54 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Existing fanart: C:\Users\htpc\AppData\Roaming\XBMC\userdata\Thumbnails\Video\Fanart\7dfb035a.tbn
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Processing movie set: Alien Total Destruction Collection
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Existing cached thumb: C:\Users\htpc\AppData\Roaming\XBMC\userdata\Thumbnails\Video\0\0f105c89.tbn
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - Existing fanart: C:\Users\htpc\AppData\Roaming\XBMC\userdata\Thumbnails\Video\Fanart\0f105c89.tbn
11:46:55 T:3744   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------

Important traces:
11:46:50 T:3744 DEBUG: [Movie Set Artwork Automator (Frodo)] - Artwork folder: smb://192.168.2.11/Shared/SetsImages/
11:46:50 T:3744 DEBUG: [Movie Set Artwork Automator (Frodo)] - Include sub folders: 0
11:46:54 T:3744 DEBUG: [Movie Set Artwork Automator (Frodo)] - Artwork folder image map: {}

There are no images found in the folder you have selected and include sub folders is not enabled in settings. Are they in a subfolder?



RE: [RELEASE] Movie Set Artwork Automator - trentf - 2013-02-01

keisuji, it actually looks like smb is the issue in your case. I tried running the script with the artwork folder on another machine and it fails to find anything in the folder as well. Must be a limitation in the python os library I am using to walk the directory tree. I will fix try to this in the next release.



RE: [RELEASE] Movie Set Artwork Automator - Milhouse - 2013-02-01

(2013-02-01, 13:05)trentf Wrote: I have implemented your feature request, grab the latest.

Excellent, many thanks - that has worked really well!

My only suggestions would be to not update those sets that don't require changes (so on my first run it updated 40 out of 42 sets, I fixed the two that needed fixing - mixture of HD and SD in two different paths) and on the second run it should just say "2 updated" not "42 updated movies". Just an optimisation really.

Also, I noticed it's still scanning for the folder.jpg and fanart.jpg for each movie within a set - could it not detect a common set folder first to avoid checking each movie individually (and failing to find the artwork?) This would improve performance for cases like mine.


RE: [RELEASE] Movie Set Artwork Automator - trentf - 2013-02-01

(2013-02-01, 13:26)MilhouseVH Wrote:
(2013-02-01, 13:05)trentf Wrote: I have implemented your feature request, grab the latest.

Excellent, many thanks - that has worked really well!

My only suggestions would be to not update those sets that don't require changes (so on my first run it updated 40 out of 42 sets, I fixed the two that needed fixing - mixture of HD and SD in two different paths) and on the second run it should just say "2 updated" not "42 updated movies". Just an optimisation really.

Also, I noticed it's still scanning for the folder.jpg and fanart.jpg for each movie within a set - could it not detect a common set folder first to avoid checking each movie individually (and failing to find the artwork?) This would improve performance for cases like mine.

I have released a new version with the SMB artwork folder fix and updated stats on the summary message box. It now shows the number of movie sets it found artwork for (previously referred to as 'updated') as well as actual database updates.

As for scanning the files for each movie within a set, that is part of initial run through movies to grab all interested paths, before decided how to process. You only see that in log as my file_exists methods always logs anything not found just in case that is useful when seeing someones log.



RE: [RELEASE] Movie Set Artwork Automator - Milhouse - 2013-02-02

trent - would you be open to consider a slight modification of the same-path test you added for me?

The reason I had to re-run previously was because I had some HD movies and SD movies in the same set, but in different paths, eg.

Code:
/mnt/share/media/Video/Movies/Jason Bourne/The Bourne Identity (2002)[DVDRip].avi
/mnt/share/media/Video/Movies/Jason Bourne/The Bourne Supremacy (2004)[DVDRip].avi
/mnt/share/media/Video/Movies/Jason Bourne/The Bourne Ultimatum (2007)[DVDRip].avi
/mnt/share/media/Video/Movies HD/Jason Bourne/The Bourne Legacy (2012)[BDRip].mkv

As you can see, the first three are in "Movies" (my "SD" path) and the last movie is in "Movies HD", but all the movies are within the same "set".

I've been thinking it over, and while this may be an unusual layout, it occurs to me that only considering the current folder for equivalence (rather than the entire path) should be sufficient to determine positively if all the movies are within the same folder.

So in the above example, as all the movies are within a folder called "Jason Bourne" you can consider them all to be of the same "Jason Bourne" set, and to look in one of the "Jason Bourne" folders for the folder.jpg/fanart.jpg.

Which folder you use as the source of the artwork becomes the next question - I'd say to choose the first folder you have in your list, as all of the folders will (or should) contain identical folder.jpg/fanart.jpg.

An even more unlikely (but possible) layout would be to have movies spread across different servers, yet in the same set. The above tweak would work fine in this situation, but comparing the entire path would fail.


RE: [RELEASE] Movie Set Artwork Automator - saitoh183 - 2013-02-02

Just tried this with Mysql and it didnt work.

My settings

Code:
<settings>
    <setting id="artwork_folder_path" value="smb://SRV-SAITOH/Videos/Moviesets/" />
    <setting id="enable_artwork_folder" value="true" />
    <setting id="enable_search_folders" value="false" />
    <setting id="filename_fanart" value="fanart.jpg" />
    <setting id="filename_thumb" value="poster.jpg" />
    <setting id="recurse_artwork_folder" value="true" />
</settings>
My folder structure is smb://SRV-SAITOH/Videos/Moviesets/fanart/ and smb://SRV-SAITOH/Videos/Moviesets/poster/ ....I also selected overwrite and tried it with recursive off and everything under smb://SRV-SAITOH/Videos/Moviesets/

Here is my log

http://xbmclogs.com/show.php?id=31975


RE: [RELEASE] Movie Set Artwork Automator - Milhouse - 2013-02-02

@saitoh183: Wrong version - you're running 0.1.2 but MySQL support wasn't added until 0.1.3. Check first post for latest version.


RE: [RELEASE] Movie Set Artwork Automator - saitoh183 - 2013-02-02

(2013-02-02, 09:51)MilhouseVH Wrote: @saitoh183: Wrong version - you're running 0.1.2 but MySQL support wasn't added until 0.1.3. Check first post for latest version.

DOH! downlaoded the newest version but forgot to update....


RE: [RELEASE] Movie Set Artwork Automator - trentf - 2013-02-02

(2013-02-02, 09:51)MilhouseVH Wrote: @saitoh183: Wrong version - you're running 0.1.2 but MySQL support wasn't added until 0.1.3. Check first post for latest version.

Correct. If you have installed the newer version, perhaps xbmc hasn't overridden the files in the addon folder properly.

@saitoh183: I'll look at your request next time I touch the code.



RE: [RELEASE] Movie Set Artwork Automator - saitoh183 - 2013-02-02

After deleting and reinstalling the addons, works like a charm Smile I think i did install it but it stayed on version 0.1.2


RE: [RELEASE] Movie Set Artwork Automator - Cocotus - 2013-02-13

Quote:I think I need help:

XBMC log:

Code:
e 57132: 19:59:49 T:139733904635648   DEBUG: [Movie Set Artwork Automator (Frodo)] - Search common folders: 0
    Line 57133: 19:59:49 T:139733904635648   DEBUG: [Movie Set Artwork Automator (Frodo)] - Enable artwork folder: 1
    Line 57134: 19:59:49 T:139733904635648   DEBUG: [Movie Set Artwork Automator (Frodo)] - Artwork folder: smb://DISKSTATION/video/moviesetsart/
    Line 57135: 19:59:49 T:139733904635648   DEBUG: [Movie Set Artwork Automator (Frodo)] - Include sub folders: 0
    Line 57136: 19:59:49 T:139733904635648   DEBUG: [Movie Set Artwork Automator (Frodo)] - Thumb filename: _1.png
    Line 57137: 19:59:49 T:139733904635648   DEBUG: [Movie Set Artwork Automator (Frodo)] - Fanart filename: fanart.jpg
    Line 57156: 19:59:52 T:139733904635648   DEBUG: [Movie Set Artwork Automator (Frodo)] - Using SQlite connector
    Line 57157: 19:59:52 T:139733904635648  NOTICE: [Movie Set Artwork Automator (Frodo)] - Updating artwork for Movie Sets
    Line 57160: 19:59:52 T:139733904635648   DEBUG: [Movie Set Artwork Automator (Frodo)] - Looking for artwork in smb://DISKSTATION/video/moviesetsart/
    Line 57163: 19:59:52 T:139733904635648   DEBUG: [Movie Set Artwork Automator (Frodo)] - Artwork folder image map: {'set96hourscollection1.png': u'smb://DISKSTATION/video/moviesetsart/Set_96 Hours Collection_1.png', 'setpulsecollection1.png': u'smb://DISKSTATION/video/moviesetsart/Set_Pulse Collection_1.png', 'setpulsecollection1.fanart.jpg': u'smb://DISKSTATION/video/moviesetsart/Set_Pulse Collection_1.fanart.jpg', 'setrambocollection1.png': u'smb://DISKSTATION/video/moviesetsart/Set_Rambo Collection_1.png', 'setthefastandthefuriouscollection1.fanart.jpg': u'smb://DISKSTATION/video/moviesetsart/Set_The Fast and the Furious Collection_1.fanart.jpg', 'setthegrudgecollection1.png': u'smb://DISKSTATION/video/moviesetsart/Set_The Grudge Collection_1.png', 'setbournecollection1.png': u'smb://DISKSTATION/video/moviesetsart/Set_Bourne Collection_1.png', 'setbondcollection1.png': u'smb://DISKSTATION/video/moviesetsart/Set_Bond Collection_1.png', 'sethangovercollection1.fanart.jpg': u'smb://DISKSTATION/video/mov...
    Line 57165: 19:59:52 T:139733904635648   DEBUG: [Movie Set Artwork Automator (Frodo)] - ------------------------------------------------------------

My movies are in seperate folders and collection name is always like:
96 Hours Collection, GhettoGangz Collection, .....

My fanart is named: Set_96 Hours Collection_1.fanart.jpg
My poster is named: Set_96 Hours Collection_1.png

Yet there are no matches.... Any ideas Big Grin [/align]

OK it works now!
I misunderstood that you have to name the moviesetimages like [COLLECTION NAME]-folder.jpg (or in my case [COLLECTION NAME]-folder.png) and [COLLECTION NAME]-fanart.jpg.
Not a big problem and easily done with tools like Bulk Renamer. Smile

Now the only problem is, that if one of my movies in movieset is in VIDEO_TS structure it won't find the art.


This forum uses Lukasz Tkacz MyBB addons.