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 - trentf - 2013-04-05

(2013-04-04, 19:29)MilhouseVH Wrote: Another MySQL gotcha - the addon is ignoring the database <name> attribute from advancedsettings.xml.

I'm just trying out a test build of a new client, so I've added <name>test</name> to <videodatabase> so that I don't overwrite the already existing MyVideoes75 database, and when I run the MSAA addon it reports the following:

Yet another XBMC feature i was not aware of. I will fix this in the next release, hopefully this weekend.

(2013-04-04, 22:13)saitoh183 Wrote:
(2013-04-04, 10:53)trentf Wrote:
(2013-04-04, 10:12)saitoh183 Wrote: Hi Trentf,

any ideas?

Yeah that's strange, the existing cached filenames in the log come straight from the XBMC API. So returning non-existant paths implies XBMC itself is out of sync somehow.

Anything I can do to fix it?

When you say it find all the artwork but doesn't update the DB, that is because the DB must already contain references to the files found. If the cached thumbs themselves are out of sync with the artwork set in the db, you might want to clear the thumbs folder. The Eden version of this script overwrites those cached thumbs, but under Frodo you shouldn't ever need to as it is "supposed" to always stay in sync with the DB...


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

(2013-04-05, 02:33)trentf Wrote:
(2013-04-04, 22:13)saitoh183 Wrote:
(2013-04-04, 10:53)trentf Wrote: Yeah that's strange, the existing cached filenames in the log come straight from the XBMC API. So returning non-existant paths implies XBMC itself is out of sync somehow.

Anything I can do to fix it?

When you say it find all the artwork but doesn't update the DB, that is because the DB must already contain references to the files found. If the cached thumbs themselves are out of sync with the artwork set in the db, you might want to clear the thumbs folder. The Eden version of this script overwrites those cached thumbs, but under Frodo you shouldn't ever need to as it is "supposed" to always stay in sync with the DB...
Here is mysql art table

Image

as you can see, the set still points to the default art set by xbmc. So there is no reference to the artwork. I renamed my thumbnails folder but that does nothing

Image

On my other profile which uses another DB...default db name, it works fine. Could the problem be because im using sissi_xbmc75 as db name?

***edit***

I think the problem is the fact that i changed the name of the DB since my master profile runs on the default db. Any chance we can get support for non default db names?


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

(2013-04-05, 05:30)saitoh183 Wrote: as you can see, the set still points to the default art set by xbmc. So there is no reference to the artwork. I renamed my thumbnails folder but that does nothing
On my other profile which uses another DB...default db name, it works fine. Could the problem be because im using sissi_xbmc75 as db name?

Yes, this sounds like the exact problem MilhouseVH mentioned above. The current mysql config reading is not aware of named instances. So it is looking up the wrong db and finding nothing to do. This will be fixed soon!


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

(2013-04-05, 05:37)trentf Wrote:
(2013-04-05, 05:30)saitoh183 Wrote: as you can see, the set still points to the default art set by xbmc. So there is no reference to the artwork. I renamed my thumbnails folder but that does nothing
On my other profile which uses another DB...default db name, it works fine. Could the problem be because im using sissi_xbmc75 as db name?

Yes, this sounds like the exact problem MilhouseVH mentioned above. The current mysql config reading is not aware of named instances. So it is looking up the wrong db and finding nothing to do. This will be fixed soon!

cool beans Smile


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

New version posted.

0.1.8
- Added support for non-default database names (mysql and sqlite3)
- Added support for configuring multiple artwork filenames (comma separated)
- Added option to use the set name as a prefix for artwork files in common folder mode
- Added Dutch language file

If you want to use both jpg and png files, just add png versions of folder or poster to the comma separated list.

saitoh183 and MilhouseVH, let me know if this fixes your DB issues.


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

(2013-04-05, 11:16)trentf Wrote: New version posted.

0.1.8
- Added support for non-default database names (mysql and sqlite3)
- Added support for configuring multiple artwork filenames (comma separated)
- Added option to use the set name as a prefix for artwork files in common folder mode
- Added Dutch language file

If you want to use both jpg and png files, just add png versions of folder or poster to the comma separated list.

saitoh183 and MilhouseVH, let me know if this fixes your DB issues.

v0.1.8 seems to have worked like a charm - many thanks!


RE: [RELEASE] Movie Set Artwork Automator - CaptainKen - 2013-04-05

(2013-04-04, 09:58)trentf Wrote:
(2013-03-30, 19:40)CaptainKen Wrote: I'm using Frodo with Aeon Nox v4.0.2. This is a fresh windows 7 pro XBMC and AN installation. So nothing pre-existing, just like a new PC.

I have an issue where fanart for some collections does not show up until I press the "I" Information button and the then back out.
I just realized that I forgot to turn on debugging. Here's the new log.

I am using Frodo with Aeon Nox 4.0.9 and have never seen this problem. Movie sets under Movies, Movie Sets and a custom Blu-ray playlist all are updated after running the script. I looked at your log, but it didnt contain any traces from this script.

Log with errors and see below.

Code:
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1] Traceback (most recent call last):
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1]   File "C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets\resources\lib\moviesets.py", line 254, in getFullMovieSetsDetails
                                            [MovieSets-11.9.5.1]     "year":          int( max( movieset[ "years" ] ) ),
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1] ValueError: max() arg is an empty sequence
08:51:08 T:4056   DEBUG: CImageLoader::DoWork - took 5495 ms to load special://skin/backgrounds/videos/Videos.jpg
08:51:08 T:868   DEBUG: POParser: loaded 61 strings from file C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets\resources\language\English\strings.po
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1] Traceback (most recent call last):
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1]   File "C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets\resources\lib\moviesets.py", line 254, in getFullMovieSetsDetails
                                            [MovieSets-11.9.5.1]     "year":          int( max( movieset[ "years" ] ) ),
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1] ValueError: max() arg is an empty sequence
08:51:08 T:868  NOTICE: MovieSets::GetFullMovieSetsDetails(allsets=False) took '0:00:06.165000'
08:51:08 T:2708   DEBUG: XFILE::CPluginDirectory::WaitOnScriptResult- plugin returned successfully
08:51:08 T:868    INFO: Scriptresult: Success
08:51:08 T:868    INFO: Python script stopped
08:51:08 T:868   DEBUG: Thread XBPyThread 868 terminating
08:51:08 T:2708   DEBUG: Saving fileitems [plugin://plugin.moviesets]
08:51:08 T:2708   DEBUG:   -- items: 34, sort method: 0, ascending: false
08:51:08 T:2740  NOTICE: Thread Background Loader start, auto delete: false
08:51:08 T:2740   DEBUG: Thread Background Loader 2740 terminating
08:51:08 T:636  NOTICE: Thread Background Loader start, auto delete: false
08:51:08 T:636   DEBUG: Thread Background Loader 636 terminating
08:51:08 T:2708   DEBUG: CApplication::ExecuteXBMCAction : Translating ClearProperty(BrowseActors,home)
08:51:08 T:2708   DEBUG: CApplication::ExecuteXBMCAction : To ClearProperty(BrowseActors,home)
08:51:08 T:2708   DEBUG: waiting for python thread 11 (C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets\plugin.py) to stop
08:51:08 T:2708   DEBUG: python thread 11 (C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets\plugin.py) destructed
08:51:09 T:4056   DEBUG: CImageLoader::DoWork - took 103 ms to load special://masterprofile/Thumbnails/c/c20a7893.jpg
08:51:11 T:2708   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
08:51:11 T:2708   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
08:51:11 T:640   DEBUG: Resumed the Sink
08:51:11 T:640   DEBUG: CSoftAE::Run - Sink restart flagged
08:51:11 T:640    INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
08:51:11 T:640   DEBUG: CAESinkDirectSound::Initialize: Using Window handle: 262932
08:51:11 T:640   DEBUG: CAESinkDirectSound::Initialize: secondary buffer created
08:51:11 T:640   DEBUG: CAESinkDirectSound::Initialize: Initializing DirectSound with the following parameters:
08:51:11 T:640   DEBUG:   Audio Device    : Digital Audio (S/PDIF) (High Definition Audio Device)
08:51:11 T:640   DEBUG:   Sample Rate     : 44100
08:51:11 T:640   DEBUG:   Sample Format   : AE_FMT_FLOAT
08:51:11 T:640   DEBUG:   Bits Per Sample : 32
08:51:11 T:640   DEBUG:   Valid Bits/Samp : 32
08:51:11 T:640   DEBUG:   Channel Count   : 2
08:51:11 T:640   DEBUG:   Block Align     : 8
08:51:11 T:640   DEBUG:   Avg. Bytes Sec  : 352800
08:51:11 T:640   DEBUG:   Samples/Block   : 32
08:51:11 T:640   DEBUG:   Format cBSize   : 22
08:51:11 T:640   DEBUG:   Channel Layout  : FL,FR
08:51:11 T:640   DEBUG:   Channel Mask    : 3
08:51:11 T:640   DEBUG:   Frames          : 441
08:51:11 T:640   DEBUG:   Frame Samples   : 882
08:51:11 T:640   DEBUG:   Frame Size      : 8
08:51:11 T:640   DEBUG: CSoftAE::InternalOpenSink - DirectSound Initialized:
08:51:11 T:640   DEBUG:   Output Device : SPDIF - Digital Audio (S/PDIF) (High Definition Audio Device)
08:51:11 T:640   DEBUG:   Sample Rate   : 44100
08:51:11 T:640   DEBUG:   Sample Format : AE_FMT_FLOAT
08:51:11 T:640   DEBUG:   Channel Count : 2
08:51:11 T:640   DEBUG:   Channel Layout: FL,FR
08:51:11 T:640   DEBUG:   Frames        : 441
08:51:11 T:640   DEBUG:   Frame Samples : 882
08:51:11 T:640   DEBUG:   Frame Size    : 8
08:51:11 T:640   DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 7.1
08:51:11 T:640   DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 3528
08:51:12 T:640   DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
08:51:12 T:2708   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
08:51:12 T:2708   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
08:51:14 T:2708   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
08:51:14 T:2708   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
08:51:14 T:2708   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
08:51:14 T:2708   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
08:51:15 T:2708   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avutil-51.dll)
08:51:16 T:2708   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avcodec-53.dll)
08:51:16 T:2708   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
08:51:16 T:2708   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
08:51:16 T:2708   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avformat-53.dll)
08:51:16 T:2708    INFO: XCURL::DllLibCurlGlobal::CheckIdle - Closing session to http://feeds.xbmc.org (easy=113136E8, multi=019880D8)
08:51:17 T:2708   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/swscale-2.dll)
08:51:17 T:2708   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
08:51:17 T:2708   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
08:51:17 T:2708   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/swresample-0.dll)
08:51:18 T:2708   DEBUG: SECTION:UnloadDelayed(DLL: special://xbmcbin/system/players/dvdplayer/avfilter-2.dll)
08:51:19 T:2708   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
08:51:19 T:2708   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
08:51:19 T:2060 WARNING: XFILE::CDirectoryFactory::Create - Unsupported protocol(image) in image://smb%3a%2f%2fSERVER2%2fvideo2%2fMovie%20Sets%2fDie%20Hard%20Collection%2ffanart.jpg/
08:51:29 T:640   DEBUG: CAESinkDirectSound::Deinitialize: Cleaning up
08:51:29 T:640   DEBUG: Suspended the Sink
08:51:34 T:2708   DEBUG: Keyboard: scancode: 1c, sym: 000d, unicode: 000d, modifier: 0
08:51:34 T:2708   DEBUG: CApplication::OnKey: return (f00d) pressed, action is Select
08:51:34 T:640   DEBUG: Resumed the Sink
08:51:34 T:640   DEBUG: CSoftAE::Run - Sink restart flagged
08:51:34 T:640    INFO: CSoftAE::InternalOpenSink - sink incompatible, re-starting
08:51:34 T:2708   DEBUG: XFILE::CPluginDirectory::RunScriptWithParams - calling plugin Movie Sets (frodo-pre)('plugin://plugin.moviesets/','-1','?index=5&idset=6')
08:51:34 T:2708    INFO: initializing python engine.
08:51:34 T:2708   DEBUG: new python thread created. id=12
08:51:34 T:3460  NOTICE: Thread XBPyThread start, auto delete: false
08:51:34 T:3460   DEBUG: Python thread: start processing
08:51:34 T:640   DEBUG: CAESinkDirectSound::Initialize: Using Window handle: 262932
08:51:34 T:640   DEBUG: CAESinkDirectSound::Initialize: secondary buffer created
08:51:34 T:640   DEBUG: CAESinkDirectSound::Initialize: Initializing DirectSound with the following parameters:
08:51:34 T:640   DEBUG:   Audio Device    : Digital Audio (S/PDIF) (High Definition Audio Device)
08:51:34 T:640   DEBUG:   Sample Rate     : 44100
08:51:34 T:640   DEBUG:   Sample Format   : AE_FMT_FLOAT
08:51:34 T:640   DEBUG:   Bits Per Sample : 32
08:51:34 T:640   DEBUG:   Valid Bits/Samp : 32
08:51:34 T:640   DEBUG:   Channel Count   : 2
08:51:34 T:640   DEBUG:   Block Align     : 8
08:51:34 T:640   DEBUG:   Avg. Bytes Sec  : 352800
08:51:34 T:640   DEBUG:   Samples/Block   : 32
08:51:34 T:640   DEBUG:   Format cBSize   : 22
08:51:34 T:640   DEBUG:   Channel Layout  : FL,FR
08:51:34 T:640   DEBUG:   Channel Mask    : 3
08:51:34 T:640   DEBUG:   Frames          : 441
08:51:34 T:640   DEBUG:   Frame Samples   : 882
08:51:34 T:640   DEBUG:   Frame Size      : 8
08:51:34 T:640   DEBUG: CSoftAE::InternalOpenSink - DirectSound Initialized:
08:51:34 T:640   DEBUG:   Output Device : SPDIF - Digital Audio (S/PDIF) (High Definition Audio Device)
08:51:34 T:640   DEBUG:   Sample Rate   : 44100
08:51:34 T:640   DEBUG:   Sample Format : AE_FMT_FLOAT
08:51:34 T:640   DEBUG:   Channel Count : 2
08:51:34 T:640   DEBUG:   Channel Layout: FL,FR
08:51:34 T:640   DEBUG:   Frames        : 441
08:51:34 T:640   DEBUG:   Frame Samples : 882
08:51:34 T:640   DEBUG:   Frame Size    : 8
08:51:34 T:640   DEBUG: CSoftAE::InternalOpenSink - Using speaker layout: 7.1
08:51:34 T:640   DEBUG: CSoftAE::InternalOpenSink - Internal Buffer Size: 3528
08:51:34 T:3460  NOTICE: -->Python Interpreter Initialized<--
08:51:34 T:3460   DEBUG: XBPyThread::Process - The source file to load is C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets\plugin.py
08:51:34 T:3460   DEBUG: XBPyThread::Process - Setting the Python path to C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets;C:\Users\Admin\AppData\Roaming\XBMC\addons\script.module.dialogaddonscan\lib;C:\Program Files (x86)\XBMC\addons\weather.wunderground\resources\lib\wunderground;C:\Program Files (x86)\XBMC\addons\script.module.simplejson\lib;C:\Program Files (x86)\XBMC\addons\script.module.pil\lib;C:\Users\Admin\AppData\Roaming\XBMC\addons\script.common.plugin.cache\lib;C:\Users\Admin\AppData\Roaming\XBMC\addons\script.module.elementtree\lib;C:\Program Files (x86)\XBMC\addons\script.module.pysqlite\lib;C:\Program Files (x86)\XBMC\system\python\DLLs;C:\Program Files (x86)\XBMC\system\python\Lib;C:\Program Files (x86)\XBMC\python26.zip;C:\Program Files (x86)\XBMC\system\python\lib\plat-win;C:\Program Files (x86)\XBMC\system\python\lib\lib-tk;C:\Program Files (x86)\XBMC;C:\Program Files (x86)\XBMC\system\python;C:\Program Files (x86)\XBMC\system\python\lib\site-packages;
08:51:34 T:3460   DEBUG: XBPyThread::Process - Entering source directory C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets
08:51:34 T:3460   DEBUG: Instantiating addon using automatically obtained id of "plugin.moviesets" dependent on version 2.0 of the xbmc.python api
08:51:34 T:3460  NOTICE: ['plugin://plugin.moviesets/', '-1', '?index=5&idset=6']
08:51:34 T:3460    INFO: Scriptresult: Success
08:51:34 T:3460    INFO: Python script stopped
08:51:34 T:3460   DEBUG: Thread XBPyThread 3460 terminating
08:51:34 T:640   DEBUG: CAESinkDirectSound::CheckPlayStatus: Resuming Playback
08:51:34 T:2708   DEBUG: waiting for python thread 12 (C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets\plugin.py) to stop
08:51:34 T:2708   DEBUG: python thread 12 (C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets\plugin.py) destructed
08:51:34 T:2708   DEBUG: CGUIMediaWindow::GetDirectory (videodb://1/7/6/)
08:51:34 T:2708   DEBUG:   ParentPath = [plugin://plugin.moviesets]
08:51:34 T:1936   DEBUG: CVideoDatabase::RunQuery took 3 ms for 4 items query: select * from movieview  WHERE movieview.idSet = 6
08:51:34 T:2412  NOTICE: Thread Background Loader start, auto delete: false
08:51:34 T:2060   DEBUG: CThumbExtractor::DoWork - trying to extract filestream details from video file smb://SERVER2/video2/Movie Sets/Die Hard Collection/Die Hard - With a Vengeance [OffLine]/Die Hard - With a Vengeance [OffLine].avi
08:51:34 T:2412   DEBUG: Thread Background Loader 2412 terminating
08:51:34 T:2556  NOTICE: Thread Background Loader start, auto delete: false
08:51:34 T:2556   DEBUG: Thread Background Loader 2556 terminating
08:51:34 T:2060   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avutil-51.dll)
08:51:34 T:2060   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avcodec-53.dll)
08:51:34 T:2060   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/avformat-53.dll)
08:51:34 T:2060   DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [avi]
08:51:34 T:2060   DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
08:51:34 T:2060   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
08:51:34 T:2060    INFO: ffmpeg[80C]: Input #0, avi, from 'smb://SERVER2/video2/Movie Sets/Die Hard Collection/Die Hard - With a Vengeance [OffLine]/Die Hard - With a Vengeance [OffLine].avi':
08:51:34 T:2060    INFO: ffmpeg[80C]:   Metadata:
08:51:34 T:2060    INFO: ffmpeg[80C]:     encoder         : Lavf53.28.100
08:51:34 T:2060    INFO: ffmpeg[80C]:   Duration: 00:00:21.52, start: 0.000000, bitrate: 344 kb/s
08:51:34 T:2060    INFO: ffmpeg[80C]:     Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 640x512 [SAR 1:1 DAR 5:4], 25 tbr, 25 tbn, 25 tbc
08:51:35 T:1936   DEBUG: Caching image 'smb://SERVER2/video2/Movie Sets/Die Hard Collection/Die Hard [OffLine]/disc.png' to '3/321e4ffd.png':
08:51:35 T:1936   DEBUG: SECTION:LoadDLL(special://xbmcbin/system/players/dvdplayer/swscale-2.dll)
08:51:35 T:1080   DEBUG: Caching image 'smb://SERVER2/video2/Movie Sets/Die Hard Collection/Die Hard [OffLine]/logo.png' to 'f/fa5c8440.png':
08:51:35 T:1080   DEBUG: cached image 'special://masterprofile/Thumbnails/f/fa5c8440.png' size 800x310
08:51:35 T:1936   DEBUG: cached image 'special://masterprofile/Thumbnails/3/321e4ffd.png' size 720x720
08:51:35 T:2060   DEBUG: CThumbExtractor::DoWork - trying to extract filestream details from video file smb://SERVER2/video2/Movie Sets/Die Hard Collection/Die Hard 4 Live Free or Die Hard [OffLine]/Die Hard 4 Live Free or Die Hard [OffLine].avi
08:51:35 T:2060   DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [avi]
08:51:35 T:2060   DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
08:51:35 T:2060   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
08:51:35 T:2060    INFO: ffmpeg[80C]: Input #0, avi, from 'smb://SERVER2/video2/Movie Sets/Die Hard Collection/Die Hard 4 Live Free or Die Hard [OffLine]/Die Hard 4 Live Free or Die Hard [OffLine].avi':
08:51:35 T:2060    INFO: ffmpeg[80C]:   Metadata:
08:51:35 T:2060    INFO: ffmpeg[80C]:     encoder         : Lavf53.28.100
08:51:35 T:2060    INFO: ffmpeg[80C]:   Duration: 00:00:21.08, start: 0.000000, bitrate: 346 kb/s
08:51:35 T:2060    INFO: ffmpeg[80C]:     Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 640x512 [SAR 1:1 DAR 5:4], 25 tbr, 25 tbn, 25 tbc
08:51:35 T:1080   DEBUG: CThumbExtractor::DoWork - trying to extract filestream details from video file smb://SERVER2/video2/Movie Sets/Die Hard Collection/Die Hard 2 - Die Harder [OffLine]/Die Hard 2 - Die Harder [OffLine].avi
08:51:35 T:1080   DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [avi]
08:51:35 T:1080   DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
08:51:35 T:1080   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
08:51:35 T:1080    INFO: ffmpeg[438]: Input #0, avi, from 'smb://SERVER2/video2/Movie Sets/Die Hard Collection/Die Hard 2 - Die Harder [OffLine]/Die Hard 2 - Die Harder [OffLine].avi':
08:51:35 T:1080    INFO: ffmpeg[438]:   Metadata:
08:51:35 T:1080    INFO: ffmpeg[438]:     encoder         : Lavf53.28.100
08:51:35 T:1080    INFO: ffmpeg[438]:   Duration: 00:00:21.52, start: 0.000000, bitrate: 344 kb/s
08:51:35 T:1080    INFO: ffmpeg[438]:     Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 640x512 [SAR 1:1 DAR 5:4], 25 tbr, 25 tbn, 25 tbc
08:51:36 T:1080   DEBUG: CThumbExtractor::DoWork - trying to extract filestream details from video file smb://SERVER2/video2/Movie Sets/Die Hard Collection/Die Hard [OffLine]/Die Hard [OffLine].avi
08:51:36 T:1080   DEBUG: CDVDDemuxFFmpeg::Open - probing detected format [avi]
08:51:36 T:1080   DEBUG: CDVDDemuxFFmpeg::Open - avformat_find_stream_info starting
08:51:36 T:1080   DEBUG: CDVDDemuxFFmpeg::Open - av_find_stream_info finished
08:51:36 T:1080    INFO: ffmpeg[438]: Input #0, avi, from 'smb://SERVER2/video2/Movie Sets/Die Hard Collection/Die Hard [OffLine]/Die Hard [OffLine].avi':
08:51:36 T:1080    INFO: ffmpeg[438]:   Metadata:
08:51:36 T:1080    INFO: ffmpeg[438]:     encoder         : Lavf53.28.100
08:51:36 T:1080    INFO: ffmpeg[438]:   Duration: 00:00:21.52, start: 0.000000, bitrate: 344 kb/s
08:51:36 T:1080    INFO: ffmpeg[438]:     Stream #0:0: Video: mpeg4 (Simple Profile) (FMP4 / 0x34504D46), yuv420p, 640x512 [SAR 1:1 DAR 5:4], 25 tbr, 25 tbn, 25 tbc
08:51:36 T:2708   DEBUG: Keyboard: scancode: 0e, sym: 0008, unicode: 0008, modifier: 0
08:51:36 T:2708   DEBUG: CApplication::OnKey: backspace (f008) pressed, action is Back
08:51:36 T:2708   DEBUG: CGUIMediaWindow::GetDirectory (plugin://plugin.moviesets)
08:51:36 T:2708   DEBUG:   ParentPath = [plugin://]
08:51:36 T:2708   DEBUG: Loading fileitems [plugin://plugin.moviesets]
08:51:36 T:2708   DEBUG:   -- items: 34, directory: plugin://plugin.moviesets sort method: 0, ascending: false
08:51:36 T:2932  NOTICE: Thread Background Loader start, auto delete: false
08:51:36 T:2932   DEBUG: Thread Background Loader 2932 terminating
08:51:36 T:1676  NOTICE: Thread Background Loader start, auto delete: false
08:51:36 T:1676   DEBUG: Thread Background Loader 1676 terminating
08:51:36 T:4056 WARNING: XFILE::CDirectoryFactory::Create - Unsupported protocol(image) in image://smb%3a%2f%2fSERVER2%2fvideo2%2fMovie%20Sets%2fDie%20Hard%20Collection%2ffanart.jpg/
08:51:38 T:2708   DEBUG: Keyboard: scancode: 17, sym: 0069, unicode: 0069, modifier: 0
08:51:38 T:2708   DEBUG: CApplication::OnKey: i (f049) pressed, action is Info
08:51:38 T:2708   DEBUG: ------ Window Init (DialogVideoInfo.xml) ------
08:51:38 T:2708    INFO: Loading skin file: DialogVideoInfo.xml, load type: KEEP_IN_MEMORY
08:51:38 T:2708   ERROR: unmatched parentheses in IsEmpty(ListItem.Art(clearlogo)
08:51:38 T:1936   DEBUG: Caching image 'smb://SERVER2/video2/Movie Sets/Die Hard Collection/fanart.jpg' to '9/9730a2cf.jpg':
08:51:38 T:1936   DEBUG: cached image 'special://masterprofile/Thumbnails/9/9730a2cf.jpg' size 1920x1080
08:51:40 T:2708   DEBUG: Keyboard: scancode: 0e, sym: 0008, unicode: 0008, modifier: 0
08:51:40 T:2708   DEBUG: CApplication::OnKey: backspace (f008) pressed, action is Back
08:51:40 T:2708   DEBUG: ------ Window Deinit (DialogVideoInfo.xml) ------
08:51:40 T:2708   DEBUG: CApplication::ExecuteXBMCAction : Translating CancelAlarm(ActorIconMove,true)
08:51:40 T:2708   DEBUG: CApplication::ExecuteXBMCAction : To CancelAlarm(ActorIconMove,true)
08:51:40 T:2708   DEBUG: CApplication::ExecuteXBMCAction : Translating ClearProperty(FanartZoom,movieinformation)
08:51:40 T:2708   DEBUG: CApplication::ExecuteXBMCAction : To ClearProperty(FanartZoom,movieinformation)
08:51:50 T:2708   DEBUG: Keyboard: scancode: 4d, sym: 0113, unicode: 0000, modifier: 0
08:51:50 T:2708   DEBUG: CApplication::OnKey: right (f083) pressed, action is Right
08:51:50 T:2060 WARNING: XFILE::CDirectoryFactory::Create - Unsupported protocol(image) in image://smb%3a%2f%2fSERVER2%2fvideo2%2fMovie%20Sets%2fFast%20%26%20Furious%20Collection%2ffanart.jpg/
08:51:52 T:2708   DEBUG: Keyboard: scancode: 01, sym: 001b, unicode: 001b, modifier: 0
08:51:52 T:2708   DEBUG: CApplication::OnKey: escape (f01b) pressed, action is PreviousMenu
08:51:52 T:2708   DEBUG: CGUIWindowManager::PreviousWindow: Deactivate
08:51:53 T:2708   DEBUG: ------ Window Deinit (MyVideoNav.xml) ------



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

(2013-04-05, 17:31)MilhouseVH Wrote:
(2013-04-05, 11:16)trentf Wrote: New version posted.

0.1.8
- Added support for non-default database names (mysql and sqlite3)
- Added support for configuring multiple artwork filenames (comma separated)
- Added option to use the set name as a prefix for artwork files in common folder mode
- Added Dutch language file

If you want to use both jpg and png files, just add png versions of folder or poster to the comma separated list.

saitoh183 and MilhouseVH, let me know if this fixes your DB issues.

v0.1.8 seems to have worked like a charm - many thanks!

Yup..Thanks for the quick turn around Smile


RE: [RELEASE] Movie Set Artwork Automator - kaffekask - 2013-04-05

Is there any reason that you insert thumb and poster ast types in Frodo?
Would be really nice if it only added poster as type if it's Frodo.


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

(2013-04-05, 18:03)CaptainKen Wrote:
(2013-04-04, 09:58)trentf Wrote:
(2013-03-30, 19:40)CaptainKen Wrote: I'm using Frodo with Aeon Nox v4.0.2. This is a fresh windows 7 pro XBMC and AN installation. So nothing pre-existing, just like a new PC.

I have an issue where fanart for some collections does not show up until I press the "I" Information button and the then back out.
I just realized that I forgot to turn on debugging. Here's the new log.

I am using Frodo with Aeon Nox 4.0.9 and have never seen this problem. Movie sets under Movies, Movie Sets and a custom Blu-ray playlist all are updated after running the script. I looked at your log, but it didnt contain any traces from this script.

Log with errors and see below.

Code:
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1] Traceback (most recent call last):
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1]   File "C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets\resources\lib\moviesets.py", line 254, in getFullMovieSetsDetails
                                            [MovieSets-11.9.5.1]     "year":          int( max( movieset[ "years" ] ) ),
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1] ValueError: max() arg is an empty sequence

I think you are confusing two different addons. "moviesets" is an addon for managing your movie sets. This script, "moviesetart", is for assigning the artwork for existing movie sets in your library.


RE: [RELEASE] Movie Set Artwork Automator - CaptainKen - 2013-04-06

(2013-04-06, 01:05)trentf Wrote:
(2013-04-05, 18:03)CaptainKen Wrote:
(2013-04-04, 09:58)trentf Wrote: I am using Frodo with Aeon Nox 4.0.9 and have never seen this problem. Movie sets under Movies, Movie Sets and a custom Blu-ray playlist all are updated after running the script. I looked at your log, but it didnt contain any traces from this script.

Log with errors and see below.

Code:
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1] Traceback (most recent call last):
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1]   File "C:\Users\Admin\AppData\Roaming\XBMC\addons\plugin.moviesets\resources\lib\moviesets.py", line 254, in getFullMovieSetsDetails
                                            [MovieSets-11.9.5.1]     "year":          int( max( movieset[ "years" ] ) ),
08:51:08 T:868   ERROR: [MovieSets-11.9.5.1] ValueError: max() arg is an empty sequence

I think you are confusing two different addons. "moviesets" is an addon for managing your movie sets. This script, "moviesetart", is for assigning the artwork for existing movie sets in your library.

Oops, I didn't realize that. Sorry. Thank you.


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

(2013-04-05, 23:40)kaffekask Wrote: Is there any reason that you insert thumb and poster ast types in Frodo?
Would be really nice if it only added poster as type if it's Frodo.

I would agree that thumb is unnecessary for Frodo, which only requires fanart and poster.

@Trent In a future update could you stop MSAA from creating thumbs for Frodo?


RE: [RELEASE] Movie Set Artwork Automator - Cocotus - 2013-04-07

Very nice trentf! Still using this and it's very very useful!

I just posted a small description of my setup and will post here too:

This is my setup which works for me:

1. I put up one folder which contains every moviesetart for all of my sets:
Image

2. This is my settings.xml for the moviesetart addon:
Code:
<settings>
    <setting id="artwork_folder_path" value="smb://DISKSTATION/video/moviesetsart/" />
    <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="folder.png" />
    <setting id="recurse_artwork_folder" value="false" />
</settings>

Basically you have to make sure that you name your art like this:

Example:
Bond Collection (Name of set in Ember/XBMC)
--> set-fanart: Bond Collection-folder.png
set-poster: Bond Collection-fanart.jpg

Run the addon and it will automatically apply all the artwork to your moviesets Smile


RE: [RELEASE] Movie Set Artwork Automator - CaptainKen - 2013-04-07

This just keeps getting stranger! I just completed a fresh install again, and now moviesetartwork when launched shows it finding all my sets, which also shows up in the log, but at the end it says it has only updated 1 set. And in fact, it has only updated one set. I've tried version 0.1.7 and 0.1.8.

Today's Log file

If you don't find anything in the log would you please advise on what I can do to track down what's happening? I've sent the log and videos, so I'm clueless what else I can do to assist you?


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

How are your files movieset files named? Like if you set the settings to poster.jpg and fanart.jpg, then your movieset files must be named <collection_name>-poster.jpg and <collection_name>-fanart.jpg. The collection_name must be the exact same as the <set> tag in the nfo file.