Bug #2354

My metadata are getting screwed by a particular movie

Added by Ema Nymton over 6 years ago. Updated over 6 years ago.

Status:InvalidStart date:11/08/2014
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

0%

Category:Metadata
Target version:4.8
Found in version:4.7.171 Platform:PS3

Description

I added the movie Traffic to my collection, and since then, it completely screwed up my metadata lookup.
Many movies that were previously correctly parsed are now showing as Traffic, as evidenced below.

Even toggling the folder metadata options to "None" or "Manual" doesn't change anything - bad parsing is still done.

I don't want to delete the DB as I made many custom naming modifications which would require a lot of time to redo all over again.

00:05:45.676: navigator [INFO]:Opening smb://192.168.1.103/Vidéos/Films
00:05:45.791: PROP [INFO]:navigator: Dispatch of [0x2023cdc8] took 115003 us
00:05:46.130: DB [DEBUG]:Opened database /dev_hdd0/game/HTSS00003/USRDIR/settings/metadb/meta.db pages: free=8 total=8488
00:05:46.158: DB [DEBUG]:Opened database /dev_hdd0/game/HTSS00003/USRDIR/settings/metadb/meta.db pages: free=8 total=8488
00:05:46.197: DB [DEBUG]:Opened database /dev_hdd0/game/HTSS00003/USRDIR/settings/metadb/meta.db pages: free=8 total=8488
00:05:46.218: DB [DEBUG]:Opened database /dev_hdd0/game/HTSS00003/USRDIR/settings/metadb/meta.db pages: free=8 total=8488
00:05:46.464: METADATA [DEBUG]:Performing search lookup for 12 Years a Slave 2013 BluRay year:0, based on filename
00:05:46.575: TMDB [DEBUG]:Query '12 Years a Slave 2013 BluRay' year:0 -> 0 pages 0 results
00:05:46.590: METADATA [DEBUG]:Performing search lookup for 50-50 year:2011, based on filename
00:05:46.627: TMDB [DEBUG]:Query '50-50' year:2011 -> 1 pages 1 results
00:05:47.059: METADATA [DEBUG]:Performing search lookup for 2001-A Space Odyssey year:0, based on filename
00:05:47.070: METADATA [DEBUG]:Performing search lookup for A Single Man year:2009, based on filename
00:05:47.127: TMDB [DEBUG]:Query '2001-A Space Odyssey' year:0 -> 1 pages 1 results
00:05:47.167: TMDB [DEBUG]:Query 'A Single Man' year:2009 -> 1 pages 1 results
00:05:47.262: METADATA [DEBUG]:Performing search lookup for American Beauty year:1999, based on filename
00:05:47.287: TMDB [DEBUG]:Query 'American Beauty' year:1999 -> 1 pages 1 results
00:05:47.295: METADATA [DEBUG]:Performing search lookup for American Pie 2[2001]DvDrip[Eng]-Devashish22 year:0, based on filename
00:05:47.332: TMDB [DEBUG]:Query 'American Pie 2[2001]DvDrip[Eng]-Devashish22' year:0 -> 0 pages 0 results
00:05:47.351: METADATA [DEBUG]:Performing search lookup for Apollo 13 year:1995, based on filename
00:05:47.370: TMDB [DEBUG]:Query 'Apollo 13' year:1995 -> 1 pages 1 results
00:05:47.375: METADATA [DEBUG]:Performing search lookup for Arbitrage year:2012, based on filename
00:05:47.406: TMDB [DEBUG]:Query 'Arbitrage' year:2012 -> 1 pages 1 results
00:05:47.503: METADATA [DEBUG]:Performing search lookup for Argo year:2012, based on filename
00:05:47.532: TMDB [DEBUG]:Query 'Argo' year:2012 -> 1 pages 1 results
00:05:47.539: METADATA [DEBUG]:Performing search lookup for August Osage County year:2013, based on filename
00:05:47.563: TMDB [DEBUG]:Query 'August Osage County' year:2013 -> 1 pages 1 results
00:05:47.571: METADATA [DEBUG]:Performing search lookup for Babel year:2006, based on filename
00:05:47.594: TMDB [DEBUG]:Query 'Babel' year:2006 -> 1 pages 1 results
00:05:47.600: METADATA [DEBUG]:Performing search lookup for Bad Santa year:2003, based on filename
00:05:47.634: TMDB [DEBUG]:Query 'Bad Santa' year:2003 -> 1 pages 1 results
00:05:47.753: METADATA [DEBUG]:Performing search lookup for Blue Caprice year:2013, based on filename
00:05:47.787: TMDB [DEBUG]:Query 'Blue Caprice' year:2013 -> 1 pages 1 results
00:05:47.793: METADATA [DEBUG]:Performing search lookup for Behind the Candelabra year:0, based on filename
00:05:47.829: TMDB [DEBUG]:Query 'Behind the Candelabra' year:0 -> 1 pages 1 results
00:05:47.835: METADATA [DEBUG]:Performing search lookup for Borat year:0, based on filename
00:05:47.868: TMDB [DEBUG]:Query 'Borat' year:0 -> 1 pages 3 results
00:05:47.884: METADATA [DEBUG]:Performing search lookup for Cannibal Holocaust year:1980, based on filename
00:05:47.908: TMDB [DEBUG]:Query 'Cannibal Holocaust' year:1980 -> 1 pages 1 results
00:05:47.989: METADATA [DEBUG]:Performing search lookup for Captain Phillips year:2013, based on filename
00:05:48.012: TMDB [DEBUG]:Query 'Captain Phillips' year:2013 -> 1 pages 1 results
00:05:48.068: METADATA [DEBUG]:Performing search lookup for Close Encounters of the Third Kind year:1977, based on filename
00:05:48.088: TMDB [DEBUG]:Query 'Close Encounters of the Third Kind' year:1977 -> 1 pages 1 results
00:05:48.110: METADATA [DEBUG]:Performing search lookup for Chronicle year:2012, based on filename
00:05:48.132: TMDB [DEBUG]:Query 'Chronicle' year:2012 -> 1 pages 4 results
00:05:48.142: METADATA [DEBUG]:Performing search lookup for Cloud Atlas year:2012, based on filename
00:05:48.164: TMDB [DEBUG]:Query 'Cloud Atlas' year:2012 -> 1 pages 1 results
00:05:48.269: METADATA [DEBUG]:Performing search lookup for Contagion year:2011, based on filename
00:05:48.328: TMDB [DEBUG]:Query 'Contagion' year:2011 -> 1 pages 1 results
00:05:48.337: METADATA [DEBUG]:Performing search lookup for Cloverfield year:2008, based on filename
00:05:48.368: TMDB [DEBUG]:Query 'Cloverfield' year:2008 -> 1 pages 1 results
00:05:48.399: METADATA [DEBUG]:Performing search lookup for Dallas Buyers Club year:2013, based on filename
00:05:48.428: TMDB [DEBUG]:Query 'Dallas Buyers Club' year:2013 -> 1 pages 1 results
00:05:48.550: METADATA [DEBUG]:Performing search lookup for Django Unchained 2012 year:0, based on filename
00:05:48.568: TMDB [DEBUG]:Query 'Django Unchained 2012' year:0 -> 0 pages 0 results
00:05:48.825: METADATA [DEBUG]:Performing search lookup for District 9 year:2009, based on filename
00:05:48.833: METADATA [DEBUG]:Performing search lookup for Das Boot Director's Cut year:1981, based on filename
00:05:48.844: TMDB [DEBUG]:Query 'District 9' year:2009 -> 1 pages 1 results
00:05:48.858: TMDB [DEBUG]:Query 'Das Boot Director's Cut' year:1981 -> 1 pages 1 results
00:05:48.890: METADATA [DEBUG]:Performing search lookup for Dredd year:2012, based on filename
00:05:48.948: TMDB [DEBUG]:Query 'Dredd' year:2012 -> 1 pages 1 results
00:05:48.954: METADATA [DEBUG]:Performing search lookup for Drive year:2011, based on filename
00:05:48.978: TMDB [DEBUG]:Query 'Drive' year:2011 -> 1 pages 4 results
00:05:49.059: METADATA [DEBUG]:Performing search lookup for Elysium year:2013, based on filename
00:05:49.113: TMDB [DEBUG]:Query 'Elysium' year:2013 -> 1 pages 1 results
00:05:49.122: METADATA [DEBUG]:Performing search lookup for End of Watch year:2012, based on filename
00:05:49.219: METADATA [DEBUG]:Performing search lookup for Final Fantasy VII Advent Children year:0, based on filename
00:05:49.249: METADATA [DEBUG]:Performing search lookup for Flags of Our Fathers year:0, based on filename
00:05:49.294: METADATA [DEBUG]:Performing search lookup for Flight year:2012, based on filename
00:05:49.368: TMDB [DEBUG]:Query 'End of Watch' year:2012 -> 1 pages 1 results
00:05:49.466: TMDB [DEBUG]:Query 'Final Fantasy VII Advent Children' year:0 -> 1 pages 2 results
00:05:49.510: TMDB [DEBUG]:Query 'Flags of Our Fathers' year:0 -> 1 pages 1 results
00:05:49.641: TMDB [DEBUG]:Query 'Flight' year:2012 -> 1 pages 8 results
00:05:50.324: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:50.413: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:50.454: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:50.464: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:51.308: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:51.362: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:51.366: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:51.380: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:51.693: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:51.738: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:51.747: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:51.762: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:52.229: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:52.263: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:52.306: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:52.312: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:52.616: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:52.650: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:52.683: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:52.838: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:53.127: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:53.164: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:53.177: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:53.211: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:53.688: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:53.737: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:53.748: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:53.846: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:54.108: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:54.114: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:54.156: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:54.165: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb
00:05:54.631: METADATA [DEBUG]:Performing IMDB lookup for tt0181865 using tmdb

Associated revisions

Revision 1133196e
Added by Andreas Smas over 6 years ago

Improve debug log surrounding TMDB queries

refs #2354

Change included in version 4.7.471

Revision 478f8d70
Added by Andreas Smas over 6 years ago

Metadata: Add METADATA/TMDB debug behind a debug option in settings:dev

Also add more verbose logging when option is turned on

refs #2354

Change included in version 4.7.475

History

#1 Updated by Andreas Smas over 6 years ago

  • Status changed from New to Accepted
  • Target version set to 4.8

Looks like we'd need to add some more debug to figure out what's going on here.

#2 Updated by Andreas Smas over 6 years ago

  • Status changed from Accepted to Need feedback

Please re-check with 4.7.471 and report back.

#3 Updated by Andreas Smas over 6 years ago

Or please check with 4.7.475

But remember to turn on Debug metadata lookups in settings:dev

#4 Updated by Ema Nymton over 6 years ago

Here's my log output with metadata lookups on: http://sprunge.us/cHPa (on 4.7.477)

It seems that the SQLite DB has a problem.

#5 Updated by Andreas Smas over 6 years ago

The sqlite errors are not critical and should be suppressed (0x106 signals a deadlock that the code will automatically resolve). However, when I suppressed some other log messages from sqlite these messages slipped back in so they are nothing to worry about.

However, it seems that it uses the tt0181865 imdb ID to query for all of the movies. Could there be an .nfo file or something in the directory that's messing up things for Showtime?

#6 Updated by Ema Nymton over 6 years ago

Dude, you're a genius. There was indeed an .nfo messing up with my metadata. Why's that?
FYI here's the latest log: http://sprunge.us/MSLA

#7 Updated by Ema Nymton over 6 years ago

BTW, is it normal that metadata are still processed even though the setting for a given directory is "Manual" or "Off"?

#8 Updated by Andreas Smas over 6 years ago

Ema Nymton wrote:

Dude, you're a genius. There was indeed an .nfo messing up with my metadata. Why's that?

It uses NFO files and searches for IMDB URLs and use it if found.
I kinda like that but I don't think it should do that if there is multiple movies in the folder. I thought i had a check for that but apparently that's been broken. I'll need to look into that.

FYI here's the latest log: http://sprunge.us/MSLA

#9 Updated by Andreas Smas over 6 years ago

Ema Nymton wrote:

BTW, is it normal that metadata are still processed even though the setting for a given directory is "Manual" or "Off"?

It shouldn't have to do that so maybe it's a bug. I'll have to check.

#10 Updated by Ema Nymton over 6 years ago

Thanks. Do you want me to file a bug report for that one?

#11 Updated by Andreas Smas over 6 years ago

  • Status changed from Need feedback to Invalid

Ema Nymton wrote:

Thanks. Do you want me to file a bug report for that one?

I've added an issue for the NFO file problem here: https://showtimemediacenter.com/issues/2356

For the "metadata activies" I can't seem to find any real problems here. Maybe you can specify it a bit better. But please open a new bug in that case. I'll close this one now.

Also available in: Atom PDF