Opened 2 years ago

Last modified 2 years ago

#13149 new Bug Report - General

upnp Recordings menu complete, but only the most recent 19 will play

Reported by: J.Pilk@… Owned by:
Priority: minor Milestone: needs_triage
Component: MythTV - General Version: Master Head
Severity: medium Keywords: upnp
Cc: Ticket locked: no

Description

Yesterday I became aware of the v30 Ubuntu PPA builds, and upgraded from v29-40 to v30-Pre-197. The Ticket summary describes the problem. Earlier recordings get 'Cannot read file'. Panasonic TV. I am not certain that I had used upnp with v29-40 but it had worked in the recent past.

I had several obsolete thumbnail images in the folder, so I deleted all thumbnails. Only 19 of those for upnp have been regenerated.

I don't see this problem on my v30-Pre-65 el7 system, which has many more recordings.

Change History (4)

comment:1 Changed 2 years ago by J.Pilk@…

Hmm. Output of mythbackend -v upnp. One name was system-generated, the other supplied by me during various attempts to get the system working. I suppose it's 'user error' and google will know about it, but suggestions would be welcome.

2017-10-11 12:43:08.811799 E  GetPreviewImage: Wrong Host 'john-HP-Compaq-6710b-GR680ET-ABU' request from '6710b'
2017-10-11 12:43:08.812206 I  Sending http redirect to: http://6710b:6544/Content/GetPreviewImage?RecordedId=10060&Width=160&Format=JPG
2017-10-11 12:43:08.818412 E  GetRecording: Wrong Host 'john-HP-Compaq-6710b-GR680ET-ABU' request from '6710b'.
2017-10-11 12:43:08.818668 I  Sending http redirect to: http://6710b:6544/Content/GetRecording?RecordedId=10060
2017-10-11 12:43:08.811799 E  GetPreviewImage: Wrong Host 'john-HP-Compaq-6710b-GR680ET-ABU' request from '6710b'
2017-10-11 12:43:08.812206 I  Sending http redirect to: http://6710b:6544/Content/GetPreviewImage?RecordedId=10060&Width=160&Format=JPG
2017-10-11 12:43:08.818412 E  GetRecording: Wrong Host 'john-HP-Compaq-6710b-GR680ET-ABU' request from '6710b'.
2017-10-11 12:43:08.818668 I  Sending http redirect to: http://6710b:6544/Content/GetRecording?RecordedId=10060

comment:2 Changed 2 years ago by J.Pilk@…

Doing things like

select title, starttime, recordedid, hostname from recorded order by recordedid limit 100 ;

shows that the short hostname was in use from 2015 until mid-September 2017, when I re-ran mythtv-setup.real in a different location; the earlier recordings are now playable by the frontend but not by upnp. I had imported two others into the el7 system using MythArchive? native mode, which preserves the original hostname, (and, I believe, the recordedid) and the same applies there. So it no longer looks to me if there has been a recent change in upnp playback. But ought upnp to be hostname-sensitive? The frontend isn't.

comment:3 Changed 2 years ago by Peter Bennett

Did you select "Master backend override" in mythtv-setup? That will allow the master backend to stream files that were recorded on any backend, otherwise they only stream from the server where they were recorded. Maybe this option is being interpreted differently in upnp from the normal backend code.

If you rename a backend or frontend you should follow the procedure for that, documented in the wiki. It involves backup and restore of your database with an option for renaming a server.

comment:4 Changed 2 years ago by J.Pilk@…

"Master backend override" was not enabled but hasn't changed upnp. And yes, I have re-re-read "mythbackend migration" - but not yet done it. I'm afraid the change in hostname crept up on me.

Note: See TracTickets for help on using tickets.