(2013-05-10, 08:41)scudlee Wrote: The issue was fixed yesterday: PR2709.
It should already be in the latest nightly, and if there's a v12.3, it will be part of it.
In trying to fix a bug that affected barely anyone, I accidentally broke something that affected quite a few. Sorry about that.
(Kudos to the author of MCM for reacting so quickly.)
Hi,
i have another issue that feels like it's linked to this category.
In 12.2 when i refresh a tv-show with local nfo present, the metadata vanishes (only for the show, not for the episodes) and the title of the show in the list view is empty(blank line), but it still shows the count for the episodes and i can navigate into the episode view.
This only happens when refreshing a show, not on initial import with local nfos.
Here are some details of the test setup and the findings.
XBMC 12.2 - Testimport
-----------------------
fresh XBMC 12.2 Installation
Mode: Portable
No PVR
Language: English
Skin: Default Confluence
no additional Add-Ons/Skins/Languages installed
no default Settings changed beside Source to Testfolder
OS: Win7 x64 SP1
Test-Source: local HDD-Folder
local DB, no MySQL
Debug: on
advancedsettings.xml
--------------------
http://www.xbmclogs.com/show.php?id=19729
sources.xml
-----------
http://www.xbmclogs.com/show.php?id=19730
Test-Source:
-------------
D:\Test\The Walking Dead (only 1 Episode)
D:\Test -> set content
-> set to TV Shows (TVDB)
-> selected folder contains a single TV show: no
-> exclude path from library updates: no
Folder-Structure:
----------------
D:\Test\The Walking Dead
-> .actors (present after Export from Test1)
-> Season01
--> .actors (present after Export from Test1)
--> s01e01_Days Gone Bye.mp4
--> s01e01_Days Gone Bye.nfo (present after Export from Test1)
--> s01e01_Days Gone Bye-thumb.jpg (present after Export from Test1)
-> banner.jpg (present after Export from Test1)
-> fanart.jpg (present after Export from Test1)
-> poster.jpg (present after Export from Test1)
-> season01-banner.jpg (present after Export from Test1)
-> season01-poster.jpg (present after Export from Test1)
-> season02-banner.jpg (present after Export from Test1)
-> season02-poster.jpg (present after Export from Test1)
-> season03-banner.jpg (present after Export from Test1)
-> season-all-poster.jpg (present after Export from Test1)
-> season-specials-poster.jpg (present after Export from Test1)
-> tvshow.nfo (present after Export from Test1)
Test 1:
-------
- fresh install
- scrape source using tvdb scraper
- select preferred banner
- select preferred poster
- select preferred fanart
- check metadata (everything is fine, all metadata for tvshow and custom art present)
- export to separate files
-> thumbnails and fanart: yes
-> actor thumbs: yes
-> overwrite old files: yes
- quit xbmc
- see debug log ->
http://www.xbmclogs.com/show.php?id=19733
Test 2:
-------
- fresh install
- scrape source using previously exported files (local nfo, jpg, etc.)
- check metadata (everything is fine, all metadata for tvshow and custom art present)
- quit xbmc
- see debug log ->
http://www.xbmclogs.com/show.php?id=19735
Test 3:
-------
- same install from Test2
- refresh TV-Show
-- refresh info for all epsiodes: yes
-- locally stored information found, ignore and refresh from internet: no
- check metadata
-> all metadata for the tv show is gone
-> the TV-Show title "The Walking Dead" is deleted from the List view, its a blank entry now with 1 episode
-> episode info is still present and accurate
- quit xbmc
- see debug log ->
http://www.xbmclogs.com/show.php?id=19736
Fixes tried:
-----------
Case 1: delete TV-Show from library
-> not possible (simply doesn't get removed, can't find a hint in the log that a removal was even tried)
-> see debug log ->
http://www.xbmclogs.com/show.php?id=19737
Case 2: refresh --> locally stored information found, ignore and refresh from internet: yes
-> works, but watched states and custom art are resetted (no solution)
Case 3: change content source to "None" and back to "TV Show" -> refresh: yes
-> works, but takes a long time for big collections
-> downside: watchedstates which haven't been exported yet, are lost
Case 4: tried the latest nightly
-> new scraper mode: "Local information only" (couldn't see any difference in the behaviour, same results as with TVDB, see below)
-> refresh --> now doesn't ask to use local nfo at all, it gets the show from tvdb (resetting metadata for the show, instead of using local tvshow.nfo[what if i modified the plot or genres?])
-> local art is preserved as well as info from local episode.nfos
Findings:
---------
A snippet from the debug log when projecting the test cases to my prod environment with mysql:
----------------------------------------------------------------------------------------------
I left out the fields that where equal for both queries and partly replaced the values with "ok" or "miss" due to readability.
I can setup a clean test case with mysql and debug logs as well, but before doing that, maybe you already have a suggestion or are aware of the problem.
Test2: working scan:
update tvshow set c00='Plot_ok' ,c05='2012-09-19',c06='thumb_ok',c08='Genre_ok',c11='fanart_ok',c12='261970',c14='TNT Serie' where idShow=7
Test3: non working refresh:
update tvshow set c00='Plot_miss',c05='1601-01-01',c06='thumb_miss',c08='Genre_miss',c11='fanart_miss',c12='',c14='' where idShow=99
If I manually run the query from Test2 again, everything is fine again. TV-Show Metainfo shows up.
It seems these queries are not included in the debug log when "not" using mysql. So it's harder to find.
Kind regards,
Maikl