NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public Add-ons (3rd party plugins, utilities and skins) Extras v
1 2 3 4 Next »
Getting Pluto extra to work

 
  • 0 Vote(s) - 0 Average
Getting Pluto extra to work
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#41
2024-03-05, 07:07 PM
I can't seem to get Pluto to work on my main NextPVR server, and it has nothing to do with streamlink or the smart DNS. So, when logged in as nextpvr, I can run:

Code:
$ streamlink --version
streamlink 6.6.2


and

Code:
$ streamlink https://pluto.tv/live-tv/pbr-ridepass best -O > /media/recordings/liveTV/test.ts
[cli][info] Found matching plugin pluto for URL https://pluto.tv/live-tv/pbr-ridepass
[cli][info] Available streams: 570k (worst), 1000k, 1500k, 2100k, 3100k (best)
[cli][info] Opening stream: 3100k (hls-pluto)
^C[cli][info] Stream ended
Interrupted! Exiting...
[cli][info] Closing currently open stream...


and while it is running:

Code:
# ls -l
total 5532
-rw-rw-r-- 1 nextpvr nextpvr 5664224 Mar  5 10:42 test.ts
# ls -l
total 6664
-rw-rw-r-- 1 nextpvr nextpvr 6820264 Mar  5 10:42 test.ts
# ls -l
total 7736
-rw-rw-r-- 1 nextpvr nextpvr 7917992 Mar  5 10:43 test.ts


Streamlink is writing to the file and it is getting bigger...all good. The same command also works and pops up the streamlink window showing the channel which I run without "-O". so streamlink as user nextpvr is connect and streaming something good.

Yet, when I try to watch the same channel from the NextPVR browser page it returns "Transcoder Exited". At that same time, I'm monitoring the live TV directory, and I see a map file, plus a zero length stream file:


Code:
# ls -l
total 6488
-rw-r--r-- 1 nextpvr nextpvr      0 Mar  5 10:36 'live-PBR RidePass-1163009-1.ts'
-rw-r--r-- 1 nextpvr nextpvr    8192 Mar  5 10:36 'live-PBR RidePass-1163009-1.ts.map'


Always zero length, but no errors in nrecord.log, and :


Code:
# grep streamlink nrecord.log
2024-03-05 10:47:14.999 [DEBUG][5] Running: streamlink https://pluto.tv/live-tv/pbr-ridepass best -O

seems to run the exact same command I ran on the command-line. I have uploaded the log file here:

https://drive.google.com/file/d/1pBYGdwh...sp=sharing

Am I missing something? I can't see why it's generating a zero length file.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,094
Threads: 957
Joined: May 2006
#42
2024-03-05, 07:17 PM
I told you it wouldn't work with the deb installer unless you fix streamlink itself.

Martin
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#43
2024-03-05, 08:13 PM
Seems like all the 6.x versions have this issue as far as I can tell. It sounds like you made a few config changes, can you describe what you did in more detail? Otherwise, it may be better to go back to 5.x
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,094
Threads: 957
Joined: May 2006
#44
2024-03-05, 08:14 PM
I gave you a hint earlier. Quite honestly I don't think supporting PlutoTV is worth this much time.

Martin
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#45
2024-03-05, 08:18 PM (This post was last modified: 2024-03-05, 08:18 PM by ballfam.)
I'm starting to agree with that sentiment. I'm going to play with a couple of different things when I get some time, but I'm about ready to give up.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,094
Threads: 957
Joined: May 2006
#46
2024-03-05, 11:04 PM
I had a look at what I did on the VPS and I think all I did was

1) edit /usr/lib/python3/dist-packages/streamlink_cli/main.py and add a return at https://github.com/streamlink/streamlink...in.py#L656

2) change /usr/lib/python3/dist-packages/streamlink/cache.py at https://github.com/streamlink/streamlink...che.py#L17

xdg_cache = os.environ.get("XDG_CACHE_HOME", os.path.expanduser("/tmp/.streamlinkcache"))


Martin
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#47
2024-03-06, 03:47 PM
OK, thanks. Long time since I wrote any Python code (I write RDBMS server code in C as a profession), but I can probably work it out. I'll give it a try when I get some time.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 53,094
Threads: 957
Joined: May 2006
#48
2024-03-06, 03:57 PM
Just use a text editor (even nano) and make sure the indent match when you add the return.

Martin
ballfam
Offline

Member

Australia
Posts: 132
Threads: 11
Joined: Jul 2020
#49
2024-03-06, 08:09 PM (This post was last modified: 2024-03-06, 11:17 PM by ballfam.)
Yeah, I remember getting caught out by the indent thing last time I played with Python...reminds me of COBOL, which has the same quirk....Nano is a little modern for me, I'm an old vi hack from my UNIX days I'm afraid...all those crazy vi shortcuts are programmed into my brain, and I can edit anything much faster with vi than anything else.
Prsa01
Offline

Member

United States
Posts: 51
Threads: 3
Joined: Dec 2023
#50
2024-03-27, 01:04 PM
(2024-03-06, 08:09 PM)ballfam Wrote: Yeah, I remember getting caught out by the indent thing last time I played with Python...reminds me of COBOL, which has the same quirk....Nano is a little modern for me, I'm an old vi hack from my UNIX days I'm afraid...all those crazy vi shortcuts are programmed into my brain, and I can edit anything much faster with vi than anything else.

If/when you get a chance to try another recording on a problematic show please do so and report back. It is (barely) possible pluto changed something on at least some shows /channels. Shows that have been problems in the past are suddenly ok (after remux). Just noticed late yesterday so could just be a fluke but I'm doing more testing today and will report outcome.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (17): « Previous 1 … 3 4 5 6 7 … 17 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  TabloTV Extra mvallevand 17 5,379 2025-03-13, 10:55 PM
Last Post: mvallevand
  Reminder Pluto TV Extra removed mvallevand 0 509 2025-01-04, 06:32 PM
Last Post: mvallevand
  help requested with sending IR Blast command with extra _Dam0_ 3 658 2024-10-11, 12:53 PM
Last Post: mvallevand
  Is 'TabloTv Extra' Compatible with Gen 4 Devices? POWerSUrgeSW3 4 1,282 2024-06-23, 01:23 PM
Last Post: mvallevand
  Pluto TV. mvallevand 93 34,506 2024-05-16, 08:46 PM
Last Post: mvallevand
  Pluto/iptv epg expected actions Prsa01 3 1,395 2024-01-20, 03:37 PM
Last Post: mvallevand
  windows media player extra buntay20 4 1,129 2023-12-17, 06:48 PM
Last Post: Jaggy
  PlutoTV Extra Commerical Exit freezing bisonfan 13 2,897 2023-12-16, 07:42 PM
Last Post: mvallevand
  Extra donation access -plutotv bisonfan 3 1,064 2023-09-04, 07:26 PM
Last Post: mvallevand
  PlutoTV Extra Problem Metroid 3 1,067 2023-07-23, 06:41 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode