Opened 16 years ago
Closed 15 years ago
#4254 closed defect (fixed)
LiveTV does not honor MasterBackendOverride
Reported by: | keller | Owned by: | cpinkham |
---|---|---|---|
Priority: | minor | Milestone: | unknown |
Component: | mythtv | Version: | head |
Severity: | low | Keywords: | stream backend mbo |
Cc: | Ticket locked: | no |
Description
Here's the situation. Please tell me if my logic is wrong on this. This is all running almost-newest SVN.
Two backends: Master - RAID 5 Storage. Default and LiveTV Storage Groups point to the local directories. Both directories are shared via NFS. Slave - Tuners, no local storage. Master shares mounted via NFS. Default and LiveTV Storage Groups point to the NFS mounts.
Master Backend Override is on. ALL file reads should come from the Master.
My frontend is connected to the master backend. When I go to watch LiveTV, the slave begins recording to the correct directory (NFS share that points to Master). The frontend, however, begins streaming from the slave backend. The file is available on the Master backend, but it streams from the slave instead. This causes triple TV traffic on the network:
One trip from slave to master storage via NFS Second trip from master storage to slave via NFS Third trip from slave to frontend via mythtv protocol
If Master Backend Override is enabled, shouldn't the master backend check to see if the LiveTV file is local, and then stream it to the frontend?
Also note that once the program is not being recorded, it can be streamed from the Master backend correctly. This also goes for previously-recorded programs. It's JUST LiveTV that displays this behavior.
Please let me know if my logic is off. If this should be a patch, let me know and I'll see what I can cook up.
-Keller
Attachments (3)
Change History (7)
Changed 16 years ago by
Attachment: | Frontend Log.txt added |
---|
Changed 16 years ago by
Attachment: | Master Log.txt added |
---|
PowerServer? Log (Master Backend) - 10.2.0.12
Changed 16 years ago by
Attachment: | Slave Log.txt added |
---|
MythServer? (Slave Backend) Log - 10.2.0.13
comment:1 Changed 16 years ago by
Try this: edit libs/libmythtv/tv_play.cpp and change every occurance of GetPlaybackURL(); to GetPlaybackURL(true);
Also change the one occurance of this: GetPlaybackURL(desiredNextState != kState_WatchingRecording); to GetPlaybackURL(true);
The 'true' argument to GetPlaybackURL() tells the method to check the master backend to see if it can stream the file.
For some reason I think we did not want to have the master stream LiveTV being recorded on another backend, but I can't remember why right now. See if you run into any long-term issues with it set this way.
comment:2 Changed 16 years ago by
Owner: | changed from Isaac Richards to cpinkham |
---|---|
Status: | new → assigned |
comment:3 Changed 16 years ago by
Severity: | medium → low |
---|---|
Summary: | Wrong backend selected to stream LiveTV → LiveTV does not honor MasterBackendOverride |
MediaFrontend? (Frontend) Log - 10.2.0.11