Tunein Radio – how to make a terminal radio player

Forum Forums General Tips and Tricks Tunein Radio – how to make a terminal radio player

  • This topic has 29 replies, 8 voices, and was last updated May 11-5:08 pm by wildstar84.
Viewing 15 posts - 16 through 30 (of 30 total)
  • Author
    Posts
  • #106388
    Member
    RJP
      Helpful
      Up
      0
      ::

      Basically it goes the next way (an attachment), and you can extract some package for seeing an example.

      #106391
      Member
      Lead Farmer
        Helpful
        Up
        0
        ::

        Basically it goes the next way (an attachment), and you can extract some package for seeing an example.

        This is defiantly an option, I take a look at.

        But another way is to write a script for step 0-3

        But for now I will keep it as is.

        • This reply was modified 1 day, 16 hours ago by Lead Farmer.
        • This reply was modified 1 day, 16 hours ago by Lead Farmer.
        #106406
        Member
        RJP
          Helpful
          Up
          0
          ::

          You could also pack all files under one folder and make a link or launcher to the script.

          Attachments:
          #106412
          Member
          Lead Farmer
            Helpful
            Up
            0
            ::

            You could also pack all files under one folder and make a link or launcher to the script.

            A launcher one way, you can also can add an alias, and run it from the terminal,

            Did you manged to make the stations files 1.txt, 2.txt. 3.txt…?

            #106413
            Member
            RJP
              Helpful
              Up
              0
              ::

              Did you manged to make the stations files 1.txt, 2.txt. 3.txt…?

              No, but I made in test purpose finnish YLE list and placed it to 7.

              • This reply was modified 1 day, 10 hours ago by RJP.
              Attachments:
              #106421
              Member
              Lead Farmer
                Helpful
                Up
                0
                ::

                @RJP I made for you this script it will replace step 2 and 3.
                Copy it to your tunein folder for easy access, select html file and number category, and it will make you the category file with 3 columns.

                Don’t forget in step 1 to load more stations by pressing the “SEE MORE” button before you save the html file.

                Good luck

                • This reply was modified 1 day, 9 hours ago by Lead Farmer.
                #106426
                Member
                RJP
                  Helpful
                  Up
                  0
                  ::

                  I think that if I try to go Tunein´s radio, it re-directs me to the finnish site, so that is the reason not to get the right html-file. It re-directs me to the next site: https://tunein.com/radio/home/

                  • This reply was modified 1 day, 8 hours ago by RJP.
                  #106432
                  Member
                  Lead Farmer
                    Helpful
                    Up
                    0
                    ::

                    I think that if I try to go Tunein´s radio, it re-directs me to the finnish site, so that is the reason not to get the right html-file. It re-directs me to the next site: https://tunein.com/radio/home/

                    You need to select category then first then save the html file.

                    Edit also you can selete in Finnish https://tunein.com/radio/Live-Stream-Music-Radio-c424724/?attributes=filter%3Dl108

                    • This reply was modified 1 day, 8 hours ago by Lead Farmer.
                    • This reply was modified 1 day, 8 hours ago by Lead Farmer.
                    #106484
                    Member
                    RJP
                      Helpful
                      Up
                      0
                      ::

                      grep -Po “( line makes empty file, so the problem is in step 2.

                      #106487
                      Member
                      Lead Farmer
                        Helpful
                        Up
                        0
                        ::

                        post the html file, and I will take a look.

                        #106488
                        Member
                        RJP
                          Helpful
                          Up
                          0
                          ::

                          Three pages as an attachment.

                          Attachments:
                          #106510
                          Member
                          Lead Farmer
                            Helpful
                            Up
                            0
                            ::

                            @RJP I find two problem:

                            1) you need to save the html file with under case and numbers case only and no space, like rock.html or top40.html.

                            2) for some reason the station address are shows without the “http://tunein.com” at the beginning , so you need to take that into account in the script.

                            Use this script

                            • This reply was modified 8 hours, 12 minutes ago by Lead Farmer.
                            • This reply was modified 6 hours, 16 minutes ago by Lead Farmer.
                            #106518
                            Member
                            RJP
                              Helpful
                              Up
                              0
                              ::

                              Now radio and channels are working perfectly with tr_category_maker_v2. 🙂 I renamed html simply Live.html. Finnish channels as an attachment.

                              Attachments:
                              #106521
                              Moderator
                              Brian Masinick
                                Helpful
                                Up
                                0
                                ::

                                Glad to see that you are having success with the Tunein Radio.
                                Thank you both for your efforts and your feedback.

                                --
                                Brian Masinick

                                #106526
                                Member
                                wildstar84
                                  Helpful
                                  Up
                                  0
                                  ::

                                  You should check out my “StreamFinder” module, which can fetch streams, along with titles, genres, station/vidio/podcast icons, etc. from not only Tunein.com but many other streaming station, video, and podcast sites. It is written in Perl as a module for use by other programs, but it’s very easy to create your own standalone command-line program (an example is included)! See here: https://metacpan.org/pod/StreamFinder

                                Viewing 15 posts - 16 through 30 (of 30 total)
                                • You must be logged in to reply to this topic.