Project

General

Profile

Can't watch recordings in Browser

Added by Wolfgang Buesser almost 7 years ago

I am trying to watch recordings in the Firefox-Browser.
When I am accessing the recordings-page and click on the view-icon for any recording, a dialog opens to select an appropriate player.
I choose the suggested default: SMPlayer.
The player opens but when I press play nothing happens.
I can however watch the recording on the Kodi-client running on a raspi.
I can also watch live-TV in the browser using the 'watch-Live-TV' link.

What could be wrong? Should I use a different player? Which one?

Thanks

Wolfgang

BTW: The OS of the server and the client is CENTOS 7


Replies (2)

RE: Can't watch recordings in Browser - Added by Wolfgang Buesser over 6 years ago

I have tried it in chrome - does not work either.

Anybody out there knowing how to play recordings in tvheadend?

RE: Can't watch recordings in Browser - Added by Wolfgang Buesser over 6 years ago

I have written a small wrapper around smplayer that does the job:

#!/bin/perl
#open(my $fh, ">", "/scr/output.txt") or die "Can't open > /scr/output.txt: $!";
while (<>) {
if($_ !~ /^#/) {
  1. print $fh $_;
    chop $_;
    chop $_;
    $command_string="smplayer \"".$_ ."\"\n";
  2. print $command_string;
    system($command_string)
    }
    }

If I specify this script when being asked for an application to play a recording,
it works.

Is this really necessary?

    (1-2/2)