Update seems to have broken upnp and a few other things

Have a MythTV related problem? Ask for help from other MythTV users here.

Moderator: Forum Moderators

Post Reply
David Highley
Newcomer
Posts: 5
Joined: Mon Dec 01, 2014 5:19 am
United States of America

Update seems to have broken upnp and a few other things

Post by David Highley » Mon Dec 01, 2014 5:32 am

On November 16th the following updates were installed:
mythtv-libs-0.27.4-2.fc20.x86_64
mythtv-common-0.27.4-2.fc20.x86_64
mythtv-base-themes-0.27.4-2.fc20.x86_6
python-MythTV-0.27.4-2.fc20.noarch
mythtv-frontend-0.27.4-2.fc20.x86_64
mythbrowser-0.27.4-2.fc20.x86_64
mythffmpeg-0.27.4-2.fc20.x86_64
php-MythTV-0.27.4-2.fc20.noarch
perl-MythTV-0.27.4-2.fc20.noarch
mythtv-backend-0.27.4-2.fc20.x86_64
mythtv-setup-0.27.4-2.fc20.x86_64
mythweb-0.27.4-1.fc20.noarch
mythnetvision-0.27.4-2.fc20.x86_64
mythtv-docs-0.27.4-2.fc20.noarch

Since the update we have found that upnp does not work, auto was broken until we found a setting that got changed, and auto transcoding is broken. Ran through all the multicast checks, firewall has not changed and tested with multiple clients, Samsung TV and VLC for the upnp issue. I have checked log files for the transcode issue, but see nothing that indicates what is wrong. Have Googled but I'm not seeing any complaints so far. Running on Fedora 20 and all had been working until this update.

User avatar
bill6502
Developer
Posts: 1871
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Update seems to have broken upnp and a few other things

Post by bill6502 » Mon Dec 01, 2014 6:46 am

Hi,

The above may mean you're running 2 commits above 0.27.4.

A more precise way to get the MythTV version is by typing: mythbackend --version.
You're interested in a line that looks similar to this: v0.27.4-22-g70653f1. For a
'history' of the versions you've been running (assuming you have logs in the same
place I do), try this:
grep 'mythbackend version:' /var/log/mythtv/mythbackend.log
That should allow you to get the version that was working too. If you post the
good and bad versions, it's fairly easy to develop a list of fixes that are involved.

You mentioned a setting getting changed. I can't comment about Fedora, but
I can't spot a MythTV update (in the last 296) that changed a setting. It's possible
that an upgrade would change a setting.

David Highley
Newcomer
Posts: 5
Joined: Mon Dec 01, 2014 5:19 am
United States of America

Re: Update seems to have broken upnp and a few other things

Post by David Highley » Mon Dec 01, 2014 1:40 pm

Grepping the logs files for version found:
- v0.27.3-164-g629f711
- v0.27.4-6-ge0b0027

Can we downgrade or is there a fix for the recent schedules direct change needed?

David Highley
Newcomer
Posts: 5
Joined: Mon Dec 01, 2014 5:19 am
United States of America

Re: Update seems to have broken upnp and a few other things

Post by David Highley » Mon Dec 01, 2014 1:46 pm

Oops, forgot to answer setting change for audio. It was in the frontend for play back that we had to select pulse audio instead of ALSA.

User avatar
bill6502
Developer
Posts: 1871
Joined: Fri Feb 07, 2014 5:28 pm
United States of America

Re: Update seems to have broken upnp and a few other things

Post by bill6502 » Mon Dec 01, 2014 5:46 pm

David Highley wrote:Grepping the logs files for version found:
- v0.27.3-164-g629f711
- v0.27.4-6-ge0b0027
Thanks. There were 33 commits between the above.

You're 15 commits behind a fix that addresses an SSDP issue, but another person on this
forum is having a similar issue and updating didn't fix it. Since I'm a Ubuntu user and also
not a UPnP user, I'll drop off this thread, but here's the other one: viewtopic.php?f=36&t=509&p=2402

If you do find a Fedora user that knows how do downgrade, here's the link to other solutions
for Schedules Direct: https://www.mythtv.org/wiki/Schedules_Direct_URL_Change

User avatar
stuartm
Developer
Posts: 129
Joined: Wed Feb 05, 2014 5:17 pm
Great Britain

Re: Update seems to have broken upnp and a few other things

Post by stuartm » Tue Dec 02, 2014 11:14 am

It should be fixed now.

David Highley
Newcomer
Posts: 5
Joined: Mon Dec 01, 2014 5:19 am
United States of America

Re: Update seems to have broken upnp and a few other things

Post by David Highley » Wed Dec 03, 2014 3:07 am

We did a downgrade to the previous version which fixed the autotranscoding issue but not the UPNP. With VLC as a client I can now see the server but can not find any content. The Samsung TV still does not see the server.

David Highley
Newcomer
Posts: 5
Joined: Mon Dec 01, 2014 5:19 am
United States of America

Re: Update seems to have broken upnp and a few other things

Post by David Highley » Thu Dec 04, 2014 2:57 am

Can' explain it but the UPNP is working again with the Samsung TV. We did no further changes so we are confused about why it is working now when it would not work for over a day after down grading MythTV. By the way it still does not work with VLC, but we had not tried that before and there are other reports that VLC does not work as a client.

User avatar
stuartm
Developer
Posts: 129
Joined: Wed Feb 05, 2014 5:17 pm
Great Britain

Re: Update seems to have broken upnp and a few other things

Post by stuartm » Thu Dec 04, 2014 12:06 pm

The desktop VLC UPnP client is horribly broken*. They use libupnp which was broken 18 months ago by some security patches, apparently no-one noticed for 9 months and it took them another 9 months to apply fixes (After I nagged them). libupnp is now fixed, but most distros will still be using the broken version which is also insecure as the original security fixes were all wrong ...

Even once libupnp is fixed, the VLC client is extemely badly written and it performs a Denial of Service attack on servers by opening thousands of connections to the server to load metadata on music and videos one item at a time. The more recordings, video and music you have the worse the effects of VLC on the server. Properly written clients request this information in bulk over a single connection, reusing the same connection for each subsequent request they make.

Post Reply