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 »
Pluto TV.

Thread Closed 
 
  • 0 Vote(s) - 0 Average
Pluto TV.
zinoy
Offline

Junior Member

United States
Posts: 5
Threads: 0
Joined: Dec 2020
#51
2020-12-27, 06:31 AM
I tried the steps in Post #1 and I got this:


Code:
root@6495486a924b:/config/scripts/plutotv# python3 pluto.py installGenerating XMLTV file in /config/Found 297 stationsTraceback (most recent call last):  File "pluto.py", line 259, in <module>    GenerateXMLTV(hours=5, install=True)  File "pluto.py", line 124, in GenerateXMLTV    programmeBuilder(data, listing)  File "pluto.py", line 16, in programmeBuilder    start = datetime.strptime(listing['start'], '%Y-%m-%dT%H:%M:%S.%f%z')  File "/usr/lib/python3.6/_strptime.py", line 565, in _strptime_datetime    tt, fraction = _strptime(data_string, format)  File "/usr/lib/python3.6/_strptime.py", line 362, in _strptime    (data_string, format))ValueError: time data '2020-12-27T04:26:00.000Z' does not match format '%Y-%m-%dT%H:%M:%S.%f%z'


Is it because the case of the z is lowercase vs the Z on the date time string? 

No channel groups were created. Also I cannot find the folder that has the UpdateEPG.sh currently I am using SD for EPG on the HDHomerun. What am I doing wrong?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,930
Threads: 956
Joined: May 2006
#52
2020-12-27, 03:16 PM
(2020-12-27, 06:31 AM)zinoy Wrote: I tried the steps in Post #1 and I got this:

Is it because the case of the z is lowercase vs the Z on the date time string? 

No channel groups were created. Also I cannot find the folder that has the UpdateEPG.sh currently I am using SD for EPG on the HDHomerun. What am I doing wrong?

The %z is correct.  Which docker are you running and would you be able to upgrade python?

Martin
zinoy
Offline

Junior Member

United States
Posts: 5
Threads: 0
Joined: Dec 2020
#53
2020-12-27, 03:21 PM (This post was last modified: 2020-12-27, 03:23 PM by zinoy.)
(2020-12-27, 03:16 PM)mvallevand Wrote:
(2020-12-27, 06:31 AM)zinoy Wrote: I tried the steps in Post #1 and I got this:

Is it because the case of the z is lowercase vs the Z on the date time string? 

No channel groups were created. Also I cannot find the folder that has the UpdateEPG.sh currently I am using SD for EPG on the HDHomerun. What am I doing wrong?

The %z is correct.  Which docker are you running and would you be able to upgrade python?

Martin
I was running the official nextpvr_amd64 on Unraid. I have since recreated with the one that has the added comskip and ffmpeg to check it if was something easy and recreating would help. I think I could upgrade python. Looks like I have 3.6.9 right now. Any specific version I should be using?
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,930
Threads: 956
Joined: May 2006
#54
2020-12-27, 03:42 PM
Sub's docker with 3.7 should work but you need to apt install python3.7 instead of just python3 Not sure about the alternate dockers.

You also either need to change the instructions to call python3.7 or change the symbolic link in /usr/bin/python3

Martin
jcole998
Offline

Posting Freak

New York, USA
Posts: 856
Threads: 186
Joined: Jun 2015
#55
2020-12-27, 04:55 PM
Got a first look at an overnight EPG automatic update. HDHR SD updates and locast xmltv updates were fine but plutotv did not update. I looked at the logs but saw no errors.

I ran python pluto.py xmltv from a command prompt and got the same thing as in the log.1 file(first 2020-12-27 entry).

C:\Users\Public\NPVR-data\scripts\plutotv>python pluto.py xmltv
Generating XMLTV file in C:\Users\Public\NPVR-data\
Found 297 stations

What could be wrong?


Attached Files
.zip   logs-20201227-1148.zip (Size: 1.53 MB / Downloads: 6)
zinoy
Offline

Junior Member

United States
Posts: 5
Threads: 0
Joined: Dec 2020
#56
2020-12-27, 05:05 PM
(2020-12-27, 03:42 PM)mvallevand Wrote: Sub's docker with 3.7 should work but you need to apt install python3.7 instead of just python3  Not sure about the alternate dockers.

You also either need to change the instructions to call python3.7  or change the symbolic link in /usr/bin/python3

Martin

Thank you for the guidance. Looks like it installed and I see channels in the list, but I cant figure out where to put my pluto.tv credentials. I'm guessing that's why it doesn't play currently.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,930
Threads: 956
Joined: May 2006
#57
2020-12-27, 06:09 PM
(2020-12-27, 05:05 PM)zinoy Wrote: Thank you for the guidance. Looks like it installed and I see channels in the list, but I cant figure out where to put my pluto.tv credentials. I'm guessing that's why it doesn't play currently.

Installing streamlink in docker requires a bit of work I suspect that is your issue.  You will need to install from deb file and install dependencies too.  The addon doesn't support credentials at this time so that probably isn't your issue.

To test that it is working maybe try

streamlink https://pluto.tv/live-tv/cnn best -O | ffprobe -i pipe:


Martin
zinoy
Offline

Junior Member

United States
Posts: 5
Threads: 0
Joined: Dec 2020
#58
2020-12-27, 06:12 PM
(2020-12-27, 06:09 PM)mvallevand Wrote:
(2020-12-27, 05:05 PM)zinoy Wrote: Thank you for the guidance. Looks like it installed and I see channels in the list, but I cant figure out where to put my pluto.tv credentials. I'm guessing that's why it doesn't play currently.

Installing streamlink in docker requires a bit of work I suspect that is your issue.  You will need to install from deb file and install dependencies too.  The addon doesn't support credentials at this time so that probably isn't your issue.

To test that it is working maybe try

streamlink https://pluto.tv/live-tv/cnn best -O | ffprobe -i pipe:


Martin
root@be0a9a4fb3f7:/config# streamlink https://pluto.tv/live-tv/cnn best -O | ffprobe -i pipe:
ffprobe version 4.3.1 Copyright © 2007-2020 the FFmpeg developers
  built with gcc 7 (Ubuntu 7.5.0-3ubuntu1~18.04)
  configuration: --disable-debug --disable-doc --disable-ffplay --enable-shared --enable-avresample --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-gpl --enable-libass --enable-fontconfig --enable-libfreetype --enable-libvidstab --enable-libdav1d --enable-libmp3lame --enable-libopus --enable-libtheora --enable-libvorbis --enable-libvpx --enable-libwebp --enable-libxcb --enable-libx265 --enable-libxvid --enable-libx264 --enable-nonfree --enable-openssl --enable-libfdk_aac --enable-postproc --enable-small --enable-version3 --enable-libbluray --extra-libs=-ldl --prefix=/opt/ffmpeg --enable-libopenjpeg --enable-libkvazaar --enable-libaom --extra-libs=-lpthread --enable-vaapi --enable-libvmaf --extra-cflags=-I/opt/ffmpeg/include --extra-ldflags=-L/opt/ffmpeg/lib
  libavutil      56. 51.100 / 56. 51.100
  libavcodec    58. 91.100 / 58. 91.100
  libavformat    58. 45.100 / 58. 45.100
  libavdevice    58. 10.100 / 58. 10.100
  libavfilter    7. 85.100 /  7. 85.100
  libavresample  4.  0.  0 /  4.  0.  0
  libswscale      5.  7.100 /  5.  7.100
  libswresample  3.  7.100 /  3.  7.100
  libpostproc    55.  7.100 / 55.  7.100
Traceback (most recent call last):
  File "/usr/local/bin/streamlink", line 7, in <module>
    from streamlink_cli.main import main
  File "/usr/local/lib/python3.7/dist-packages/streamlink_cli/main.py", line 17, in <module>
    from socks import __version__ as socks_version
ModuleNotFoundError: No module named 'socks'
pipe:: Invalid data found when processing input
root@be0a9a4fb3f7:/config#
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 52,930
Threads: 956
Joined: May 2006
#59
2020-12-27, 06:18 PM
You need to get streamline working on docker, that is outside of scope of this addon, I said it was tricky.

Martin
zinoy
Offline

Junior Member

United States
Posts: 5
Threads: 0
Joined: Dec 2020
#60
2020-12-27, 06:22 PM
(2020-12-27, 06:18 PM)mvallevand Wrote: You need to get streamline working on docker, that is outside of scope of this addon, I said it was tricky.

Martin

i did a "pip3 install --upgrade streamlink "
Then got this: 
[cli][info] Found matching plugin pluto for URL https://pluto.tv/live-tv/cnn
[cli][info] Available streams: 572k (worst), 997k, 1539k, 2142k, 3063k (best)
[cli][info] Opening stream: 3063k (muxed-stream)
Input #0, mpegts, from 'pipe:':
  Duration: N/A, start: 1.466667, bitrate: N/A
  Program 1
    Metadata:
      service_name    : Service01
      service_provider: FFmpeg
    Stream #0:0[0x100]: Video: h264 ([27][0][0][0] / 0x001B), yuv420p(progressive), 1280x720 [SAR 1:1 DAR 16:9], 30 fps, 30 tbr, 90k tbn, 60 tbc
    Stream #0:1[0x101]: Audio: aac ([15][0][0][0] / 0x000F), 48000 Hz, stereo, fltp, 90 kb/s
error: Error when writing to output: [Errno 32] Broken pipe, exiting
[stream.ffmpegmux][error] Pipe copy aborted: /tmp/ffmpeg-6053-842
[cli][info] Stream ended
[cli][info] Closing currently open stream...

So I went back to the web GUI and It looks like its playing! Thank you so much!
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Reminder Pluto TV Extra removed mvallevand 0 437 2025-01-04, 06:32 PM
Last Post: mvallevand
  Getting Pluto extra to work ballfam 163 16,050 2024-08-08, 07:23 PM
Last Post: mvallevand
  Pluto/iptv epg expected actions Prsa01 3 1,299 2024-01-20, 03:37 PM
Last Post: mvallevand
  pluto tv recordings just space travel thing and not completing nogoer 38 6,236 2022-06-27, 02:34 PM
Last Post: mvallevand
  streamlink not executing on Ubuntu for Pluto spagio 5 1,990 2022-04-15, 08:16 PM
Last Post: mvallevand
  Pluto TV Recordings - SxxExx not in filename wayne.page 3 1,553 2022-01-01, 03:26 PM
Last Post: mvallevand
  Pluto TV VOD Series not working loveridgem 13 3,740 2021-12-11, 08:34 PM
Last Post: mvallevand
  A couple of questions on Pluto TV mvallevand 6 2,872 2021-12-02, 02:57 AM
Last Post: 2leftfeet
  Pluto TV Multiple Instances loveridgem 9 2,648 2021-10-30, 11:08 PM
Last Post: loveridgem
  Change Pluto default stream of "Best"? loveridgem 2 2,870 2021-10-29, 04:03 PM
Last Post: loveridgem

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

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

Linear Mode
Threaded Mode