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.
-
AuthorPosts
-
May 10, 2023 at 5:56 am #106388Member
RJP
::Basically it goes the next way (an attachment), and you can extract some package for seeing an example.
Attachments:
May 10, 2023 at 6:22 am #106391MemberLead Farmer
::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, 22 hours ago by Lead Farmer.
- This reply was modified 1 day, 21 hours ago by Lead Farmer.
May 10, 2023 at 11:54 am #106406MemberRJP
::You could also pack all files under one folder and make a link or launcher to the script.
Attachments:
May 10, 2023 at 12:45 pm #106412MemberLead Farmer
::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…?
May 10, 2023 at 1:08 pm #106413MemberRJP
::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, 15 hours ago by RJP.
Attachments:
May 10, 2023 at 2:11 pm #106421MemberLead Farmer
::@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, 14 hours ago by Lead Farmer.
Attachments:
May 10, 2023 at 2:43 pm #106426MemberRJP
::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, 14 hours ago by RJP.
May 10, 2023 at 3:02 pm #106432MemberLead Farmer
::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, 14 hours ago by Lead Farmer.
- This reply was modified 1 day, 14 hours ago by Lead Farmer.
Attachments:
May 11, 2023 at 7:19 am #106484MemberRJP
May 11, 2023 at 7:24 am #106487MemberLead Farmer
May 11, 2023 at 7:47 am #106488May 11, 2023 at 3:10 pm #106510MemberLead Farmer
::@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 13 hours, 55 minutes ago by Lead Farmer.
- This reply was modified 11 hours, 59 minutes ago by Lead Farmer.
Attachments:
May 11, 2023 at 3:58 pm #106518MemberRJP
May 11, 2023 at 4:14 pm #106521Moderator
Brian Masinick
::Glad to see that you are having success with the Tunein Radio.
Thank you both for your efforts and your feedback.--
Brian MasinickMay 11, 2023 at 5:08 pm #106526Member
wildstar84
::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
-
AuthorPosts
- You must be logged in to reply to this topic.

