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 3 years ago

Closed 3 years ago

Last modified 3 years ago

#9350 closed Patch - Bug Fix (Fixed)

Frontend requests for file list in a slave backend's storage group directory doesn't return the correct result

Reported by: fedora@… Owned by: robertm
Priority: minor Milestone: 0.24.1
Component: MythTV - General Version: 0.24-fixes
Severity: low Keywords: storage group file list
Cc: Ticket locked: no

Description (last modified by wagnerrp)

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

Attachments (1)

playbacksock.cpp.patch (533 bytes) - added by fedora@… 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by fedora@…

comment:1 Changed 3 years ago by robertm

  • Owner set to robertm
  • Status changed from new to assigned

Seems like a no-brainer fix.

comment:2 Changed 3 years ago by robertm

  • Resolution set to Fixed
  • Status changed from assigned to closed

Fixed in 2ec3a29f2.

comment:3 Changed 3 years ago by robertm

  • Milestone changed from unknown to 0.24.1

Fixed in .24-fixes in df2d58bfc.

comment:4 Changed 3 years ago by wagnerrp

  • Description modified (diff)

Add Comment

Modify Ticket

Action
as closed .
The resolution will be deleted. Next status will be 'new'.
Author


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

 
Note: See TracTickets for help on using tickets.