Modify
Warning Please read the Ticket HowTo before creating or commenting on a ticket. Failure to do so may cause your ticket to be rejected or result in a slower response.

Opened 15 months ago

Last modified 10 months ago

#10500 assigned Bug Report - General

mythutil --scanvideos does not update database

Reported by: yiannividalis@… Owned by: wagnerrp
Priority: minor Milestone: unknown
Component: MythTV - Video Library Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

I moved a folder with movies within the storage group hierarchy and tried to use mythutil --scanvideos to update the database, but it wasn't updated. The movement was on the SB, and I ran mythutil both on the MB and on the SB without success. The xterm log output doesn't show anything like "removing x" and "Adding x" like in the frontend log. In one test it updated the location of only the first episode of the moved folder.

MythTV Version : v0.25-rc-38-gd6f038c-dirty
MythTV Branch : master
Network Protocol : 72
Library API : 0.25.20120315-2
QT Version : 4.7.4
Options compiled in:
 linux profile use_hidesyms using_alsa using_oss using_pulse using_pulseoutput using_backend using_bindings_perl using_bindings_python using_bindings_php using_dvb using_frontend using_hdpvr using_iptv using_libcrypto using_libfftw3 using_libxml2 using_libudf using_lirc using_mheg using_opengl_video using_qtwebkit using_qtscript using_qtdbus using_v4l2 using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_bindings_php using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg using_libxml2 using_libudf

Attachments (1)

mythbackend.20120324132657.2580.log.tar.gz (10.0 KB) - added by yiannividalis@… 15 months ago.
Slave Backend log - I tried to attach it ucompressed but it was considered spam.

Download all attachments as: .zip

Change History (5)

comment:1 Changed 15 months ago by wagnerrp

  • Owner changed from robertm to wagnerrp
  • Status changed from new to accepted

comment:2 Changed 15 months ago by wagnerrp

  • Status changed from accepted to infoneeded

This should have been fixed by 0a57c4662b8. It makes the master backend open a new connection to the slave backend, rather than trying to connect back in through itself to perform the query. Could you check your slave backend logs to see if the master backend is trying to connect to perform the scan?

comment:3 Changed 15 months ago by yiannividalis@…

Today I performed the following test on the SB:

The folders I tested belong to the SB.
I moved a Series folder (Shaka Zulu) outside the videos storage group and ran "mythutil --scanvideos". The series was removed from the frontend.

When I moved it back where it was before and re-ran mythutil, in mythfrontend I could see the Series Title correctly, but it had created only one episode, from another series. The correct episode was S01E10 and it had the title and description of another file of another series (the first alphabetically series in the folder - BlackAdder?).

I removed the series around 11:13
I added it back around 11:15.
I have edited the log to replace the Greek messages back to English, but I've left alone the Greek folder/file names. Unknown characters are not Greek, the program tries to translate to Greek and fails.

Changed 15 months ago by yiannividalis@…

Slave Backend log - I tried to attach it ucompressed but it was considered spam.

comment:4 Changed 10 months ago by kenni

  • Status changed from infoneeded to assigned

Add Comment

Modify Ticket

Action
as assigned .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.