Direct link to a channel in browser?

You mean, something like http://X.X.X.X:8089/devices/ANY/channels/###/stream.mpg? (Replace X.X.X.X with the IP address of your DVR server, and ### with the channel number.)

This will give you a direct stream of a channel as Channels sees it. For more information, check this thread:

Yeah, but I'd like the browser to start a player (versus downloading the video feed itself)

If you follow the linked thread, there is also a reference to the HLS version of the channel. Whether your browser handles HLS is up to your browser.

Right so there's two existing URLs:

http://X.X.X.X:8089/devices/ANY/channels/###/stream.mpg
http://X.X.X.X:8089/devices/ANY/channels/###/hls

I guess what I'm wondering is there something like:

http://X.X.X.X:8089/devices/ANY/channels/###/stream.html

Where one doesn't need to worry about the direct play aspects, and can still leverage a direct link.

No, there is not an endpoint of that sort that I am aware of. Channels is generally meant to used as a headless server, and the primary means of viewing are the apps.

Looks like this may be coming soon:

with the latest prerelease you can now load a full screen player for live playback of a channel with this url:

/admin/channels/$channelnumber/full

3 Likes

Wow! Works perfectly! Exactly what we were asking for... brilliant!! Thank you.

2 Likes

Now we just need:

http://x.x.x.x:8089/admin/channels/###/full?autorun

I'll happily endlessly ask for useful features :slight_smile:

Players don’t auto run in browsers these days. It’s turned off at the browser level.

You can thank every crappy news and social site.

Ugh... that sucks.

I wonder if there's a way to programmatically generate a mouse click at the center point of the window in JS.

Probably way more hassle than it's worth.

Thanks again, the feature is plenty good enough for the vast majority of use-cases.

It doesn't actually go full screen for me. The video is sized like it is full screen, but there are player controls around it, and I have to click the full screen icon to make it go full screen. Is this by design? I am using Edge if it matters.

I believe it's a browser limitation.

And seriously, other than this niche request, who in their right mind wants a web page to hijack their screen and launch itself full screen?

Remember, the developers view the web UI as a management interface, not a user-facing client.

If it's a limitation, then that is fine.

I am not running these web players on the server, they are on various PC's whose sole function is to playback TV.

And seriously, while this may not be your use case, it doesn't mean the request is any less valid. There are plenty of reasons to want this.

It's amazing to me that there are users of Channels who go out of their way to jump to the defense of the developers. Especially since the dev's are nothing but responsive!

Rather than work to marginalize requests and justify why the system cannot do something, take a moment to understand the ask and offer solutions.

If you want full screen and you're using Chrome, it's actually doable with the hls endpoint and this browser extension: https://chrome.google.com/webstore/detail/native-hls-playback/emnphkkblegpebimobpbekeedfgemhof

3 Likes

You can easily do this with AutoHotKey.

3 Likes

I doubt I would want this feature to automatically go full screen, but I do wish the devs, and to a lesser extent the community here, would take the PC playback more seriously. It has been the only way I watch over the last several months.

Nearly every other web player offers the ability to control basic functions like skip forward and skip back with keyboard controls. I am sure they could fix that simply. Also, the virtual channels show up in the web guide but don't play? No support for collections either.

I do thank @maddox especially for this new feature! It is very handy and hopefully a sign of things to come for us "web UI as a management interface, not a user-facing client" outcasts.

I can't get this to work. Running version 2021.08.24.2219

Pointed browser to http://192.168.1.221:8089/admin/channels/$6000/full

Looks like it tries to display but nothing. Log entry is:

2021/08/26 14:55:05.868488 [ERR] Failed to start stream for ch$6000: Channel not found
2021/08/26 14:55:05.958055 [HLS] Couldn't generate stream playlist for ch$6000-dANY-ip192.168.1.1: Channel not found
2021/08/26 14:55:05.958119 [HLS] Stopping transcoder session ch$6000-dANY-ip192.168.1.1

Ooops. Embarrasing. I saw the dollar sign. Took that out and it works.

1 Like

With the latest DVR pre-release, you can now load movies and episodes with the full player via a URL as well.

/admin/movies/$file_id/full
/admin/shows/$show_id/episodes/$file_id/full

And there's an even shorter helper URL to play back any file:

/admin/files/$file_id/full

Additionally, you can now launch items into the full screen video player via the Watch modal.

2 Likes