Mythweb – VLC is Unable to Open the MRL

Following updates of Mythweb I find that VLC is unable to open and stream music files.

Browsing the music options, selecting artist, album and then clicking on the desired track to play. I chose to open in VLC. VLC would open but there was a stream of errors. The top entry shown was:

VLC is unable to open the MRL 'file:///tmp/mozilla_neil0/%3Chr%3E%3Cp%3E%3Cb%3EWarning%3C/b%3E%20at%20/usr/share/mythtv/mythweb/modules/music/mp3act_functions.php,%20line%201675:%3Cbr%20/%3E!!NoTrans:%20session_cache_limiter():%20Cannot%20change%20cache%20limiter%20when%20session%20is%20active!!%3C/p%3E'. Check the log for details.

Looking in the referred to file

/usr/share/mythtv/mythweb/modules/music/mp3act_functions.php

I found that by comment out the line highlighted (1707)

session_cache_limiter('nocache');

It ran error free.

Maybe not the best approach. No apparent ill effects of this approach have subsequently been knowingly observed.

If your playing of Mythweb music content causes errors in your VLC playback perhaps a “dirty” comment-out of a single line in a file will be all that’s required.