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.
arkennedy75
Offline

Member

Posts: 171
Threads: 42
Joined: Jan 2005
#31
2020-12-26, 08:58 PM
(2020-12-26, 08:53 PM)mvallevand Wrote: Hm I don't know what to suggest.  If  you type

curl http://localhost:8866/ -v

Is there a line something like

< Location: login.html?salt=c53ed4ef-60d7-4e4e-b5d7-ec9387750c8b

Martin

C:\Users\Public\NPVR-data\scripts\plutotv>curl http://localhost:8866/ -v
*  Trying ::1...
* TCP_NODELAY set
* Connected to localhost (::1) port 8866 (#0)
> GET / HTTP/1.1
> Host: localhost:8866
> User-Agent: curl/7.55.1
> Accept: */*
>
< HTTP/1.1 302 Found
< Date: Sat, 26 Dec 2020 20:57:50 GMT
< Server: Kestrel
< Content-Length: 0
< Cache-Control: no-cache
< Pragma: no-cache
< Expires: -1
< Location: login.html?salt=36ffe524-cb40-4859-995c-7a7327338d66
< Set-Cookie: .AspNetCore.Session=CfDJ8MlgWpYGm4REmj2F0yaCdlIblmNdZpQfOSM9d%2BeMraJNmCQMx3vVn62s9oHkpiMElg1ZeqiWT%2BP6b4pe%2BqGIcavmiN77uqne1gZO6CDYhSmMbWez6I7dA%2BwRDIUYyDkjwoeuw%2BFu70bmiYVWIORgnNpnVWjJmbg4gXn8qSuuneiZ; path=/; samesite=lax; httponly
<
* Connection #0 to host localhost left intact
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#32
2020-12-26, 09:22 PM
if in GenerateExtras(), you print out channels on a bad return code, I think you'll get a message that describes the error that's occuring:

Code:
    if not rc:
        print ("Please update your NextPVR username/password")
        print (f"  payload: {channels}")
        sys.exit()
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#33
2020-12-26, 09:25 PM
I have a debug version coming I can't attach a file in Safari.  Ok  this is from Firefox.  Replace pluto.py with this and we will see what NextPVR is telling us.

Martin
JavaWiz
Offline

Posting Freak

Jacksonville, FL. USA
Posts: 2,522
Threads: 141
Joined: Dec 2006
#34
2020-12-26, 09:38 PM (This post was last modified: 2020-12-26, 09:38 PM by JavaWiz.)
Sure you uploaded the right file? I don't see any differences from the prior version...
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#35
2020-12-26, 09:41 PM
Oops here it is  replace lib/libnextpvr.py

Martin
arkennedy75
Offline

Member

Posts: 171
Threads: 42
Joined: Jan 2005
#36
2020-12-26, 10:18 PM
(2020-12-26, 09:41 PM)mvallevand Wrote: Oops here it is  replace lib/libnextpvr.py

Martin

Thank for the help.  This is what I get with the updated file....

C:\Users\Public\NPVR-data\scripts\plutotv>python pluto.py install
Generating XMLTV file in C:\Users\Public\NPVR-data\
Found 297 stations
Generating Extra file in C:\Users\Public\NPVR-data\
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8" />
    <title>Login</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <link rel="stylesheet" href="fonts.css">
    <link rel="stylesheet" href="vendor/bootstrap/bootstrap.min.css">
    <link rel="stylesheet" href="local.css">
    <link href="vendor/font-awesome/css/all.min.css" type="text/css" rel="stylesheet">

    <style>
        .card {
            width: 390px;
            max-width: 95%;
        }

        .input-group-text {
            background-color: #888888;
        }
    </style>
</head>
<body>
    <div class="container-fluid" id="app">
        <div class="container">
            <div class="card card-login mx-auto text-center bg-light">
                <div class="card-header mx-auto">
                    <h5><span class="logo_title mt-5">Login Required </span></h5>
                </div>
                <div class="card-body">
                    <form action="" method="post">
                        <div class="input-group form-group">
                            <div class="input-group-prepend">
                                <span class="input-group-text"><i class="fa fa-user"></i></span>
                            </div>
                            <input type="text" id="email" class="form-control" placeholder="Username" autofocus>
                        </div>
                        <div class="input-group form-group">
                            <div class="input-group-prepend">
                                <span class="input-group-text"><i class="fa fa-key"></i></span>
                            </div>
                            <input type="password" id="password" class="form-control" placeholder="Password">
                        </div>
                        <div class="row">
                            <div class="form-check col-6">
                                <!--
                                <input type="checkbox" class="form-check-input" id="revealPassword">
                                <label class="form-check-label" for="revealPassword">Show Password</label>
                                    -->
                            </div>
                            <div class="form-check col-6">
                                <p class="float-right">
                                    <input type="checkbox" class="form-check-input" id="rememberMeCheck">
                                    <label class="form-check-label" for="rememberMeCheck">Remember Me</label>
                                </p>
                            </div>
                        </div>
                        <div class="form-group">
                            <input id="loginButton" type="reset" name="btnLogin" value="Login" class="btn btn-primary float-right login_btn">
                        </div>
                    </form>
                </div>
            </div>
        </div>

        <hr />
        <div class="col-12 text-center">
            <span id="message" class="text-danger"></span><hr />
        </div>
    </div>

    <script src="js/jquery-3.4.1.min.js"></script>
    <script src="js/popper.min.js"></script>
    <script src="vendor/bootstrap/bootstrap.min.js"></script>
    <script src="js/MD5.js"></script>
    <script src="js/utility.js"></script>

    <script>
        if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) {
            $('head').append('<meta name="viewport" content="width=device-width, initial-scale=1"/>');
        }

        window.addEventListener("load", function (event)
        {
            sessionStorage.removeItem("allow_settings");

            var message = getParameterByName("message");
            if (message != null && message != "") {
                $("#message").text(message);
            }

            $("#loginButton").click(function () {
                doLogin();
            });

            $("#revealPassword").click(function () {
                console.log("reveal");
            });

            $(document).keyup(function (e) {
                if ($("#password").is(":focus") && (e.keyCode == 13)) {
                    doLogin();
                }
                if ($("#email").is(":focus") && (e.keyCode == 13)) {
                    doLogin();
                }
            });
        });

        function doLogin() {
            var salt = getParameterByName("salt");
            var username = $("#email").val();
            var password = MD5($("#password").val());
            var combined = MD5(salt + ":" + username + ":" + password);

            var url = 'login.html?hash=' + combined;;
            if ($("#rememberMeCheck").is(":checked")) {
                url += "&remember=true";
            }
            window.location.href = url;
        }
    </script>
</body>
</html>
{'stat': 'Failed', 'code': 8, 'msg': 'Invalid Session.'}
Please update your NextPVR username/password
mvallevand
Offline

Posting Freak

Ontario Canada
Posts: 52,768
Threads: 954
Joined: May 2006
#37
2020-12-26, 11:12 PM
When you log on to NextPVR on this machine via the browser do you have any issue? More specifically to 127.0.0.1. If so does it work with localhost?

Martin
arkennedy75
Offline

Member

Posts: 171
Threads: 42
Joined: Jan 2005
#38
2020-12-26, 11:46 PM
(2020-12-26, 11:12 PM)mvallevand Wrote: When you log on to NextPVR on this machine via the browser do you have any issue?  More specifically to 127.0.0.1. If so does it work with localhost?

Martin

I am able to access nextpvr via browser with both http://127.0.0.1:8866/channels.html and http://localhost:8866/guide.html
2leftfeet
Offline

Senior Member

Somewhere in NE Pa.
Posts: 546
Threads: 57
Joined: Jan 2015
#39
2020-12-27, 12:03 AM
Martin,

Two questions:
1. Is there a way to get more than 6 hours worth of EPG xmltv data from Pluto or is that fixed by Pluto itself.
2. I have noticed that when a channel goes to a local commercial (message stating "they will be right back"), streaming stops. This happens on both the web client and on a kodi client. Is there a way around this?
arkennedy75
Offline

Member

Posts: 171
Threads: 42
Joined: Jan 2005
#40
2020-12-27, 12:13 AM (This post was last modified: 2020-12-27, 12:14 AM by arkennedy75.)
(2020-12-26, 11:46 PM)arkennedy75 Wrote:
(2020-12-26, 11:12 PM)mvallevand Wrote: When you log on to NextPVR on this machine via the browser do you have any issue?  More specifically to 127.0.0.1. If so does it work with localhost?

Martin

I am able to access nextpvr via browser with both http://127.0.0.1:8866/channels.html and http://localhost:8866/guide.html

I want to make sure I'm not missing something silly.  The instructions in the 1st post say :

"8. Pluto TV should be installed and ready to used.
Follow the steps in Post Installation and enjoy."

If everything went as planned I should see the new Pluto channels in both channels and tv guide sections when logging into nextpvr via browser?

I was a little confused by "follow steps in post installation", are there additional steps I am missing?
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

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


Possibly Related Threads…
Thread Author Replies Views Last Post
  Reminder Pluto TV Extra removed mvallevand 0 341 2025-01-04, 06:32 PM
Last Post: mvallevand
  Getting Pluto extra to work ballfam 163 14,274 2024-08-08, 07:23 PM
Last Post: mvallevand
  Pluto/iptv epg expected actions Prsa01 3 1,165 2024-01-20, 03:37 PM
Last Post: mvallevand
  pluto tv recordings just space travel thing and not completing nogoer 38 5,810 2022-06-27, 02:34 PM
Last Post: mvallevand
  streamlink not executing on Ubuntu for Pluto spagio 5 1,868 2022-04-15, 08:16 PM
Last Post: mvallevand
  Pluto TV Recordings - SxxExx not in filename wayne.page 3 1,468 2022-01-01, 03:26 PM
Last Post: mvallevand
  Pluto TV VOD Series not working loveridgem 13 3,499 2021-12-11, 08:34 PM
Last Post: mvallevand
  A couple of questions on Pluto TV mvallevand 6 2,753 2021-12-02, 02:57 AM
Last Post: 2leftfeet
  Pluto TV Multiple Instances loveridgem 9 2,483 2021-10-30, 11:08 PM
Last Post: loveridgem
  Change Pluto default stream of "Best"? loveridgem 2 2,667 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