Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#8880 closed defect (fixed)

image videometadata is not removed when resetting episode details

Reported by: yianniv Owned by: robertm
Priority: minor Milestone: 0.24
Component: Plugin - MythVideo Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

On my main backend, if I choose 'reset details' on a TV episode, the image metadata is not removed from the database. The plot disappears from the screen but the screenshot remains. This happens for TV series only, not for movies, and only on my master backend. If I move the same episode file my other backend, the image metadata gets removed as well. Is this a misconfiguration somehow or a bug? I tested it with episodes of various series.

It makes no difference which frontend I use (on the MB, on the SB, or on a laptop), the problem appears if the episode belongs to the MB. I can reproduce it every time.

There are no leftovers from previous mythtv builds because before upgrading mythtv, besides 'make uninstall' I also remove the /usr/share/mythtv and /lib/mythtv trees completely to avoid such situations.

This is the output of mythfrontend -v important,general,database of the affected backend.

2010-09-07 12:12:26.322 SendReceiveStringList(QUERY_FILE_HASH,Series/Californication/Californication S01E01.mkv...) called from UI thread
2010-09-07 12:12:26.370 SendReceiveStringList(QUERY_SG_GETFILELIST,al2kpro...) called from UI thread
2010-09-07 12:12:28.307 SendReceiveStringList(QUERY_SG_GETFILELIST,al2kpro...) called from UI thread
2010-09-07 12:12:31.535 SendReceiveStringList(QUERY_SG_GETFILELIST,al2kpro...) called from UI thread
2010-09-07 12:12:35.720 SendReceiveStringList(QUERY_SG_GETFILELIST,al2kpro...) called from UI thread
2010-09-07 12:12:35.954 MSqlQuery::exec(DBManager1) UPDATE videometadata SET title = 'Californication', subtitle = '', tagline = '', director = 'Unknown', plot = 'None', rating= 'NR', year = '1895', releasedate = '', userrating = '0', length = '0', season = '1', episode = '1', filename = 'Series/Californication/Californication S01E01.mkv', hash = '5b5239635dc51a62', trailer = '', showlevel = '1', coverfile = 'Californication Season 1_coverart.jpg', screenshot = 'Californication Season 1x1_screenshot.jpg', banner = 'Californication Season 1_banner.jpg', fanart = 'Californication Season 1_fanart.jpg', inetref = '00000000', homepage = '', browse = 'true', watched = 'false', host = 'al2kpro', playcommand = '', childid = '-1', category = '0', processed = 'false'  WHERE intid = '475720'
2010-09-07 12:12:35.955 MSqlQuery::exec(DBManager0) DELETE FROM videometadatagenre WHERE idvideo = '475720'
2010-09-07 12:12:35.956 MSqlQuery::exec(DBManager0) DELETE FROM videometadatacast WHERE idvideo = '475720'
2010-09-07 12:12:35.957 SendReceiveStringList(QUERY_SG_FILEQUERY,192.168.13.65...) called from UI thread
2010-09-07 12:12:35.965 SendReceiveStringList(QUERY_SG_FILEQUERY,192.168.13.65...) called from UI thread
2010-09-07 12:12:35.984 SendReceiveStringList(QUERY_SG_FILEQUERY,192.168.13.65...) called from UI thread
2010-09-07 12:12:35.989 SendReceiveStringList(QUERY_SG_FILEQUERY,192.168.13.65...) called from UI thread

MythTV Version : 26131M MythTV Branch : trunk Network Protocol : 61 Library API : 0.23.20100904-1 QT Version : 4.6.3 Options compiled in:

linux release using_alsa using_jack using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_dvb using_frontend using_hdpvr using_iptv using_ivtv using_libfftw3 using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_xvmc using_xvmc_vld using_xvmcw using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

Please let me know if you need any more info.

Change History (2)

comment:1 Changed 9 years ago by robertm

Resolution: fixed
Status: newclosed

(In [26149]) MythVideo?: Remove old behavior to search for local images that match the raw metadata. Suspect this will irritate half of people and make the other people happy. Cannot win. Fixes #8880.

comment:2 Changed 9 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.