[mythtv-commits] Ticket #9350: Frontend requests for file list in a slave backend's storage group directory doesn't return the correct result

MythTV noreply at mythtv.org
Thu Mar 24 17:22:42 UTC 2011


#9350: Frontend requests for file list in a slave backend's storage group
directory doesn't return the correct result
-------------------------------------+----------------------------
 Reporter:  fedora@…                 |          Owner:  robertm
     Type:  Patch - Bug Fix          |         Status:  closed
 Priority:  minor                    |      Milestone:  0.24.1
Component:  MythTV - General         |        Version:  0.24-fixes
 Severity:  low                      |     Resolution:  Fixed
 Keywords:  storage group file list  |  Ticket locked:  0
-------------------------------------+----------------------------
Description changed by wagnerrp:

Old description:

> Frontend  sends a request to the master backend for file list on a slave
> backend's storage group (Fanart in this case) but receives only the
> directory "sgdir::<fanart_dir>"
>
> Message (without size header) sent from frontend to master backend:
> QUERY_SG_GETFILELIST[]:[]slavebackend.testdomain[]:[]Fanart[]:[][]:[]1
>
> Message sent from master backend to slave backend:
> QUERY_SG_GETFILELIST[]:[]slavebackend.testdomain[]:[]Fanart[]:[]
>
> Seems like the last parameter is dropped.  I made a small change to
> "playbacksock.cpp" (patch attached) that seems to have solved this
> problem.
>

>
> MythTV Version   : Unknown
> MythTV Branch    :
> Network Protocol : 63
> Library API      : 0.24.20101129-1
> QT Version       : 4.6.2
> 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_firewire using_frontend using_hdhomerun using_hdpvr
> using_iptv using_ivtv using_joystick_menu 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

New description:

 Frontend  sends a request to the master backend for file list on a slave
 backend's storage group (Fanart in this case) but receives only the
 directory "sgdir::<fanart_dir>"

 Message (without size header) sent from frontend to master backend:
 QUERY_SG_GETFILELIST[]:[]slavebackend.testdomain[]:[]Fanart[]:[][]:[]1

 Message sent from master backend to slave backend:
 QUERY_SG_GETFILELIST[]:[]slavebackend.testdomain[]:[]Fanart[]:[]

 Seems like the last parameter is dropped.  I made a small change to
 "playbacksock.cpp" (patch attached) that seems to have solved this
 problem.


 {{{
 MythTV Version   : Unknown
 MythTV Branch    :
 Network Protocol : 63
 Library API      : 0.24.20101129-1
 QT Version       : 4.6.2
 }}}

--

-- 
Ticket URL: <http://code.mythtv.org/trac/ticket/9350#comment:4>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center


More information about the mythtv-commits mailing list