Closed flippz closed 2 years ago
OK. I took a look at the code and fixed a couple of small errors anyway ;-)
Nice What im actually looking for is a webui that can act almost like yours but when i press the program it opens the stream in chrome automatically. Im using a profile in tvheadend so that chrome can actually play the streams. Anyway to do this?
tir. 17. mai 2022, 13:51 skrev dave-p @.***>:
OK. I took a look at the code and fixed a couple of small errors anyway ;-)
— Reply to this email directly, view it on GitHub https://github.com/dave-p/TVHadmin-JS/issues/3#issuecomment-1128772481, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFCLC55T5FABMM2SRMCC27LVKOB2TANCNFSM5WEPDRKA . You are receiving this because you authored the thread.Message ID: @.***>
This should work already, if you click on a programme currently running (ie in green) TVH sends a media playlist to the browser which it should open with its default media player.
Yes it downloads a m3u file. But chrome itself is actually able to play it so how can i make it just start the playback in a videoplayer(html5) in chrome?
I am no coder but i changed
this:
if (p.onNow) s += <a href='/play/stream/channel/${c.uuid}?title=${c.name}'><div class='item ${colour}' style='width: ${pc}%;' title='${subtitle}'>${p.title}</div></a>
;
to this:
if (p.onNow) s += <a href='/stream/channel/${c.uuid}'><div class='item ${colour}' style='width: ${pc}%;' title='${subtitle}'>${p.title}</div></a>
;
and now it works i have a profile i called p.mp4 witch is set to default if that has any say in it
It gets a m3u file witch chrome downloads... But might be a problem at my side
tir. 17. mai 2022, 14:22 skrev dave-p @.***>:
This should work already, if you click on a programme currently running (ie in green) TVH sends a media playlist to the browser which it should open with its default media player.
— Reply to this email directly, view it on GitHub https://github.com/dave-p/TVHadmin-JS/issues/3#issuecomment-1128802016, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFCLC56CEI45V5BCBGOMDODVKOFR3ANCNFSM5WEPDRKA . You are receiving this because you authored the thread.Message ID: @.***>
I made a change a few days ago so the downloaded playlist always has the .m3u8 file extension. On Chrome (and Brave) the playlist downloads and is listed at the bottom of the browser screen. If you right-click on the file name and select "Always open files of this type", then all future streams will automatically open in your default viewer.
never mind...was chrome glitching it seems