get_iplayer scheduling anbody do for radio?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • cmr_for3
    Full Member
    • Nov 2015
    • 286

    get_iplayer scheduling anbody do for radio?

    Struggling to get this working even using the instructions here https://www.squarepenguin.co.uk/guid...yer-pvr-guide/

    Anybody else use it for radio?
  • Serial_Apologist
    Full Member
    • Dec 2010
    • 37857

    #2
    Wouldn't it contravene BBC copyright?

    Comment

    • Bryn
      Banned
      • Mar 2007
      • 24688

      #3
      Originally posted by Serial_Apologist View Post
      Wouldn't it contravene BBC copyright?
      An interesting point, though whether the copyright in many broadcasts belongs to the BBC is moot. In the bad old days of the BBC Forum Graham would occasionally remind us that the BBC had not negotiated rights for Internet streaming to be recorded (unlike FM and DAB broadcasts). Again, iPlayer reminds one, when saved programmes are 30 days old, that one is obliged to delete them. I have never tried the get_iplayer scheduler I rely on the PID for the programme and save after the broadcast.

      Comment

      • Forget It (U2079353)
        Full Member
        • Nov 2010
        • 132

        #4
        I use get_iplayer's PVR to schedule downloads of BBC radio 4 and 3 programmes for deferred listening.
        You are obliged to delete them after 30 days - IIRC.
        But unless you're a geek or hate the BBC Sounds Site/App the same can be done easier there.

        Here's what I do - on Windows.
        Install get_player then
        run the PVR using the short cut provided on the desktop and
        wait for the PVR web page to appear in my browser at http://localhost:1935/ .
        Then I go to the Search Panel and select BBC Radio and not BBC TV
        then click on Apply Settings.
        Then I press the button on the same page Refresh Cache.
        Then I wait for items to appear in space below - which takes some time.
        You may need to refresh the page to see the changes.
        Then I either browse the resulting list and click to add programmes to the queue
        else I search for them using their name in the Search box back at the top and then
        add them.
        Finally I click on the Run PVR at the top - which then fetches those items in the queue that
        are available at the time.

        You get used to it in the end.

        I have another solution that adds a queue button to each item in Andrew's Splendid Listings at



        - which I can share if you are particularly geeky!
        Last edited by Forget It (U2079353); 24-11-19, 12:30.

        Comment

        • cmr_for3
          Full Member
          • Nov 2015
          • 286

          #5
          Originally posted by Forget It (U2079353) View Post
          I use get_iplayer's PVR to schedule downloads of BBC radio 4 and 3 programmes for deferred listening.
          You are obliged to delete them after 30 days - IIRC.
          But unless you're a geek or hate the BBC Sounds Site/App the same can be done easier there.

          Here's what I do - on Windows.
          Install get_player then
          run the PVR using the short cut provided on the desktop and
          wait for the PVR web page to appear in my browser at http://localhost:1935/ .
          Then I go to the Search Panel and select BBC Radio and not BBC TV
          then click on Apply Settings.
          Then I press the button on the same page Refresh Cache.
          Then I wait for items to appear in space below - which takes some time.
          You may need to refresh the page to see the changes.
          Then I either browse the resulting list and click to add programmes to the queue
          else I search for them using their name in the Search box back at the top and then
          add them.
          Finally I click on the Run PVR at the top - which then fetches those items in the queue that
          are available at the time.

          You get used to it in the end.

          I have another solution that adds a queue button to each item in Andrew's Splendid Listings at



          - which I can share if you are particularly geeky!
          Very Many thanks for your post. I shall have a play. I am rather geeky so would like to see that two if you would care to share.

          Comment

          • Forget It (U2079353)
            Full Member
            • Nov 2010
            • 132

            #6
            You'll need to install the following UserScript in your browser using GreaseMonkey, or similar (on Firefox I use ViolentMonkey!)
            Code:
            // ==UserScript==
            // @name        radio-lists
            // @namespace   Violentmonkey Scripts
            // @include    *radio-lists.org.uk*
            // @require     [url]http://code.jquery.com/jquery-latest.min.js[/url]
            // @version     1
            // @grant       none
            // ==/UserScript==
            
            $( document ).ready( function() {
                var long_str = "&SEARCHFIELDS=pid&PROGTYPES=radio&EXCLUDE=&CATEGORY=&EXCLUDECATEGORY=&CHANNEL=&EXCLUDECHANNEL=&SINCE=&BEFORE=&FUTURE=1&SORT=index&REVERSE=0&PAGESIZE=10&HIDE=0&HIDEDELETED=0&COLS=type&COLS=name&COLS=episode&COLS=desc&COLS=channel&COLS=timeadded&OUTPUT=&VERSIONLIST=&MODES=&PROXY=&SUBTITLES=0&METADATA=&THUMB=0&PVRHOLDOFF=&FORCE=0&AUTOWEBREFRESH=1&AUTOPVRRUN=4&REFRESHFUTURE=0&BITRATE=&VSIZE=&VFR=&STREAMTYPE=&SAVE=0&SEARCHTAB=yes&COLUMNSTAB=no&DISPLAYTAB=no&RECORDINGTAB=no&STREAMINGTAB=no&PAGENO=1&INFO=0&NEXTPAGE=pvr_queue&ACTION=&.cgifields=FORCE&.cgifields=REVERSE&.cgifields=FUTURE&.cgifields=HISTORY&.cgifields=HIDE&.cgifields=PROGTYPES&.cgifields=REFRESHFUTURE&.cgifields=THUMB&.cgifields=HIDEDELETED&.cgifields=COLS&.cgifields=SUBTITLES"
               //console.log("hello:"+long_str)
              $('a[href^="https://www.bbc.co.uk/programmes/"][target="_blank"]').each( function(){
                  var href = $(this).attr('href')
                  console.log("href:"+href)
                  var myArr = href.split('/')
                  var pid = myArr[myArr.length-1]
                  var ddd = $(this).parent('b').prev('i').text().trim();
                  var str = $(this).parent('b').text().trim();
                  var url = "http://localhost:1935/?SEARCH="
                  + encodeURIComponent( "radio|" + pid + "|<"+ ddd + " " + str +">")
                  + long_str
                  $(this).before(' <a target="pvr" href="'+ url +'">⏺</a>')
                  $(this).before(' <a target="credit" href="'+ href +'/credits.inc">C</a>')
                  $(this).before(' <a target="credit" href="'+ href +'/broadcasts.inc">B</a> ')
                  $(this).attr('href', href+'#programmes-content')
            
               })
               // tidy up[ the end bit
              $('a[name=pind]').nextAll().remove();
              var node=$('a[name=pind]')[0]
              while( node.nextSibling.nodeType == Node.TEXT_NODE ) node.nextSibling.remove(); 
            })
            Your page will then look something like this where you click on the ⏺ to queue the program on the PVR
            - you have to have already started the PVR first.
            The B helps you check if it is a repeat - it shows the broadcast dates in another tab. Ignore the C.
            The thing in brackets takes you to the programmes BBC webpage in another tab.
            Last edited by Forget It (U2079353); 05-12-19, 14:26.

            Comment

            • cmr_for3
              Full Member
              • Nov 2015
              • 286

              #7
              Originally posted by Forget It (U2079353) View Post
              You'll need to install the following UserScript in your browser using GreaseMonkey, or similar (on Firefox I use ViolentMonkey!)
              Code:
              // ==UserScript==
              // @name        radio-lists
              // @namespace   Violentmonkey Scripts
              // @include    *radio-lists.org.uk*
              // @require     [url]http://code.jquery.com/jquery-latest.min.js[/url]
              // @version     1
              // @grant       none
              // ==/UserScript==
              
              $( document ).ready( function() {
                  var long_str = "&SEARCHFIELDS=pid&PROGTYPES=radio&EXCLUDE=&CATEGORY=&EXCLUDECATEGORY=&CHANNEL=&EXCLUDECHANNEL=&SINCE=&BEFORE=&FUTURE=1&SORT=index&REVERSE=0&PAGESIZE=10&HIDE=0&HIDEDELETED=0&COLS=type&COLS=name&COLS=episode&COLS=desc&COLS=channel&COLS=timeadded&OUTPUT=&VERSIONLIST=&MODES=&PROXY=&SUBTITLES=0&METADATA=&THUMB=0&PVRHOLDOFF=&FORCE=0&AUTOWEBREFRESH=1&AUTOPVRRUN=4&REFRESHFUTURE=0&BITRATE=&VSIZE=&VFR=&STREAMTYPE=&SAVE=0&SEARCHTAB=yes&COLUMNSTAB=no&DISPLAYTAB=no&RECORDINGTAB=no&STREAMINGTAB=no&PAGENO=1&INFO=0&NEXTPAGE=pvr_queue&ACTION=&.cgifields=FORCE&.cgifields=REVERSE&.cgifields=FUTURE&.cgifields=HISTORY&.cgifields=HIDE&.cgifields=PROGTYPES&.cgifields=REFRESHFUTURE&.cgifields=THUMB&.cgifields=HIDEDELETED&.cgifields=COLS&.cgifields=SUBTITLES"
                 //console.log("hello:"+long_str)
                $('a[href^="https://www.bbc.co.uk/programmes/"][target="_blank"]').each( function(){
                    var href = $(this).attr('href')
                    console.log("href:"+href)
                    var myArr = href.split('/')
                    var pid = myArr[myArr.length-1]
                    var ddd = $(this).parent('b').prev('i').text().trim();
                    var str = $(this).parent('b').text().trim();
                    var url = "http://localhost:1935/?SEARCH="
                    + encodeURIComponent( "radio|" + pid + "|<"+ ddd + " " + str +">")
                    + long_str
                    $(this).before(' <a target="pvr" href="'+ url +'">⏺</a>')
                    $(this).before(' <a target="credit" href="'+ href +'/credits.inc">C</a>')
                    $(this).before(' <a target="credit" href="'+ href +'/broadcasts.inc">B</a> ')
                    $(this).attr('href', href+'#programmes-content')
              
                 })
                 // tidy up[ the end bit
                $('a[name=pind]').nextAll().remove();
                var node=$('a[name=pind]')[0]
                while( node.nextSibling.nodeType == Node.TEXT_NODE ) node.nextSibling.remove(); 
              })
              Your page will then look something like this where you click on the ⏺ to queue the program on the PVR
              - you have to have already started the PVR first.
              The B helps you check if it is a repeat - it shows the broadcast dates in another tab. Ignore the C.
              The thing in brackets takes you to the programmes BBC webpage in another tab.
              Fab stuff - many thanks for this and much appreciated. Will have a play at the weekend.

              Comment

              Working...
              X