Medusa: Default EP status issue when adding new show

Created on 13 Nov 2016  路  5Comments  路  Source: pymedusa/Medusa

Before submitting your issue:

Enable debug logging in Medusa settings, reproduce the error (be sure to disable after the bug is fixed)

Branch/Commit: develop
OS: windows
What you did: added two new shows with default episode status at "Wanted"
What happened: default episode status was set to "Skipped"
What you expected: for it to be added with "Wanted"
Logs: (i see nothing strange in logs.. might need more debug)

2016-11-13 21:15:31 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Saving to database: Mars (2016)
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Loading all episodes from TVDBv2
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S00E01 not found in the database
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S00E01 has no absolute number on TVDBv2
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Looking up XEM scene mapping for show 316345 on TVDBv2
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S00E01 has already aired, marking it 'UNKNOWN'
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S00E02 not found in the database
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S00E02 has no absolute number on TVDBv2
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S00E02 airs in the future or has no airdate, marking it 'UNAIRED'
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E01 not found in the database
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E01 has no absolute number on TVDBv2
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E01 airs in the future or has no airdate, marking it 'UNAIRED'
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E02 not found in the database
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E02 has no absolute number on TVDBv2
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E02 airs in the future or has no airdate, marking it 'UNAIRED'
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E03 not found in the database
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E03 has no absolute number on TVDBv2
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E03 airs in the future or has no airdate, marking it 'UNAIRED'
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E04 not found in the database
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E04 has no absolute number on TVDBv2
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E04 airs in the future or has no airdate, marking it 'UNAIRED'
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E05 not found in the database
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E05 has no absolute number on TVDBv2
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E05 airs in the future or has no airdate, marking it 'UNAIRED'
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E06 not found in the database
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E06 has no absolute number on TVDBv2
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Mars (2016) S01E06 airs in the future or has no airdate, marking it 'UNAIRED'
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Transaction with 8 queries executed
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Saving indexer changes to database
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Saving to database: Mars (2016)
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Internal name cache for Mars (2016) set to: [ mars 2016 ]
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Loading all episodes from the show directory: D:\TV\DOCUMENTARIES\Mars (2016)
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] 316345: Found files: []
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Checking if D:\TV\DOCUMENTARIES\Mars (2016)\fanart.jpg exists: False
2016-11-13 21:15:32 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Metadata provider KODI 12+ creating fanart for Mars (2016)
2016-11-13 21:15:33 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Fetching image from http://thetvdb.com/banners/fanart/original/316345-2.jpg
2016-11-13 21:15:34 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Checking if D:\TV\DOCUMENTARIES\Mars (2016)\poster.jpg exists: False
2016-11-13 21:15:34 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Metadata provider KODI 12+ creating poster for Mars (2016)
2016-11-13 21:15:35 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Fetching image from http://thetvdb.com/banners/posters/316345-3.jpg
2016-11-13 21:15:35 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Checking if D:\TV\DOCUMENTARIES\Mars (2016)\banner.jpg exists: False
2016-11-13 21:15:35 DEBUG    SHOWQUEUE-ADD :: [bc1ff19] Metadata provider KODI 12+ creating banner for Mars (2016)
Bug Concluded

All 5 comments

@wimpyrbx what was you settings when adding new show?

there is two settings related to episode status

image

Yeah, i need your exact config. Maybe it has something todo with the status and status_after.
Also, i've changed a log settings. Can you pull latest dev, and try to reproduce it?

unable to reproduce using newest dev. either it was fixed or i saw a temporary "skipped" status before show was 100% updated.

i removed mars (2016) and deleted tvshow.nfo and re-added with "wanted" as default episode status. while it was scanning files etc after adding it showed "skipped", but once scan was complete it was suddenly "wanted" as expected.

I'm also suspecting it's an issue for episodes that are added on the day the episode airs. At least the log message for which I suspect is involved, should give us more info, should it happen again. So only thing we can do now, is keep our eyes open. And report it with debug logs, if it happens again.

Just experience this , made my default status as skipped instead of the desired wanted.

2016-11-22 21:59:26 INFO     SHOWQUEUE-ADD :: [787fbe9] Starting to add show by ShowDir: /media/extssd/Shows/Our Guy in China
2016-11-22 21:59:26 INFO     SHOWQUEUE-ADD :: [787fbe9] TVmaze: {'session': <requests.sessions.Session object at 0xb4ebef0c>, 'cache': u'/home/home/SickRage/cache/indexers/TVmaze', 'language': u'en', 'use_zip': True}
2016-11-22 21:59:27 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Loading show info from database
2016-11-22 21:59:32 INFO     SHOWQUEUE-ADD :: [787fbe9] 22839: Unable to find the show in the database
2016-11-22 21:59:32 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Loading show info from TVmaze
2016-11-22 21:59:32 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Transaction with 3 queries executed
2016-11-22 21:59:32 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Setter sets location to /media/extssd/Shows/Our Guy in China
2016-11-22 21:59:32 INFO     SHOWQUEUE-ADD :: [787fbe9] Setting all episodes to the specified default status: 5
2016-11-22 21:59:32 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Retrieving show info from IMDb
2016-11-22 21:59:35 INFO     SHOWQUEUE-ADD :: [787fbe9] 22839: Not loading show info from IMDb, because we don't know its ID
2016-11-22 21:59:35 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Saving to database: Our Guy in China
2016-11-22 21:59:49 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Loading all episodes from TVmaze
2016-11-22 21:59:49 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Our Guy in China S01E01 not found in the database
2016-11-22 21:59:49 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Our Guy in China S01E01 has no absolute number on TVmaze
2016-11-22 21:59:49 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Looking up XEM scene mapping for show 22839 on TVmaze
2016-11-22 21:59:49 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Our Guy in China S01E01 has already aired, marking it 'SKIPPED'
2016-11-22 21:59:49 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Our Guy in China S01E02 not found in the database
2016-11-22 21:59:49 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Our Guy in China S01E02 has no absolute number on TVmaze
2016-11-22 21:59:49 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Our Guy in China S01E02 airs in the future or has no airdate, marking it 'UNAIRED'
2016-11-22 21:59:50 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Our Guy in China S01E03 not found in the database
2016-11-22 21:59:50 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Our Guy in China S01E03 has no absolute number on TVmaze
2016-11-22 21:59:50 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Our Guy in China S01E03 airs in the future or has no airdate, marking it 'UNAIRED'
2016-11-22 21:59:53 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Transaction with 3 queries executed
2016-11-22 21:59:53 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Saving indexer changes to database
2016-11-22 21:59:53 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Saving to database: Our Guy in China
2016-11-22 21:59:53 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Internal name cache for Our Guy in China set to: [ our guy in china ]
2016-11-22 21:59:53 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Loading all episodes from the show directory: /media/extssd/Shows/Our Guy in China
2016-11-22 21:59:53 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Found files: []
2016-11-22 21:59:53 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Checking if /media/extssd/Shows/Our Guy in China/fanart.jpg exists: False
2016-11-22 21:59:53 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Metadata provider KODI 12+ creating fanart for Our Guy in China
2016-11-22 21:59:55 INFO     SHOWQUEUE-ADD :: [787fbe9] Could not find any fanart images on TMDB for Our Guy in China
2016-11-22 21:59:55 DEBUG    SHOWQUEUE-ADD :: [787fbe9] No fanart image was retrieved, unable to write fanart
2016-11-22 21:59:55 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Checking if /media/extssd/Shows/Our Guy in China/poster.jpg exists: False
2016-11-22 21:59:55 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Metadata provider KODI 12+ creating poster for Our Guy in China
2016-11-22 21:59:55 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Fetching image from http://tvmazecdn.com/uploads/images/original_untouched/85/212517.jpg
2016-11-22 21:59:56 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Checking if /media/extssd/Shows/Our Guy in China/banner.jpg exists: False
2016-11-22 21:59:56 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Metadata provider KODI 12+ creating banner for Our Guy in China
2016-11-22 21:59:58 INFO     SHOWQUEUE-ADD :: [787fbe9] Could not find any banner images on TMDB for Our Guy in China
2016-11-22 22:00:05 DEBUG    SHOWQUEUE-ADD :: [787fbe9] No show banner image was retrieved, unable to write banner
2016-11-22 22:00:05 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Checking if /media/extssd/Shows/Our Guy in China/season01-poster.jpg exists: False
2016-11-22 22:00:05 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Metadata provider KODI 12+ creating season posters for Our Guy in China
2016-11-22 22:00:05 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Metadata provider KODI 12+ creating season banners for Our Guy in China
2016-11-22 22:00:05 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Checking if /media/extssd/Shows/Our Guy in China/season01-banner.jpg exists: False
2016-11-22 22:00:05 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Checking if /media/extssd/Shows/Our Guy in China/season-all-poster.jpg exists: False
2016-11-22 22:00:05 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Metadata provider KODI 12+ creating season all poster for Our Guy in China
2016-11-22 22:00:05 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Fetching image from http://tvmazecdn.com/uploads/images/original_untouched/85/212517.jpg
2016-11-22 22:00:06 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Checking if /media/extssd/Shows/Our Guy in China/season-all-banner.jpg exists: False
2016-11-22 22:00:06 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Metadata provider KODI 12+ creating season all banner for Our Guy in China
2016-11-22 22:00:10 INFO     SHOWQUEUE-ADD :: [787fbe9] Could not find any banner images on TMDB for Our Guy in China
2016-11-22 22:00:10 DEBUG    SHOWQUEUE-ADD :: [787fbe9] No show banner image was retrieved, unable to write season all banner
2016-11-22 22:00:10 DEBUG    SHOWQUEUE-ADD :: [787fbe9] 22839: Writing NFOs for show
2016-11-22 22:00:10 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Checking if /media/extssd/Shows/Our Guy in China/tvshow.nfo exists: False
2016-11-22 22:00:10 DEBUG    SHOWQUEUE-ADD :: [787fbe9] Metadata provider KODI 12+ creating show metadata for Our Guy in China
Was this page helpful?
0 / 5 - 0 ratings

Related issues

Rouzax picture Rouzax  路  4Comments

hergonoway picture hergonoway  路  4Comments

elpedriyo picture elpedriyo  路  4Comments

skarekrow picture skarekrow  路  4Comments

Shootersss picture Shootersss  路  3Comments