TuneIn Radio Original

VLC Internet Channels

Source (link to git-repo or to original if based on someone elses unmodified work): https://github.com/diegofn/TuneIn-Radio-VLC

17
7 .6
Description:

Tunein-Radio-VLC

This is a Service Discovery LUA Script to TuneIn Radio for VLC 2.X.X and VLC 3.X.X
Installation

Download the latest release from: https://github.com/diegofn/TuneIn-Radio-VLC/archive/master.zip and uncompress it:


curl -L https://github.com/diegofn/TuneIn-Radio-VLC/archive/master.zip > TuneinRadioVLC.zip
unzip TuneinRadioVLC.zip


*Linux**: copy files to application directory:

cp TuneIn-Radio-VLC-master/tunein.lua /usr/lib/vlc/lua/sd/
cp TuneIn-Radio-VLC-master/playlist/* /usr/lib/vlc/lua/playlist/

**Windows**: open a Command Prompt as Administrator user and copy files to `C:Program Files (x86)VideoLANVLC` or to `%AppData%/VLC/VideoLAN/lua/sd` if exists

xcopy TuneIn-Radio-VLC-mastertunein.lua "C:Program Files (x86)VideoLANVLCluasd"
xcopy TuneIn-Radio-VLC-masterplaylist* "C:Program Files (x86)VideoLANVLCluaplaylist"

**MacOS**: you can copy files to local `home` directory

cp TuneIn-Radio-VLC-master/tunein.lua ~/Library/Application Support/org.videolan.vlc/lua/sd/
cp -R TuneIn-Radio-VLC-master/playlist/* ~/Library/Application Support/org.videolan.vlc/lua/

**MacOS**: Alternatively, On MacOS you can copy files to `/Applications/VLC.app` folder to all users:

sudo cp TuneIn-Radio-VLC-master/tunein.lua /Applications/VLC.app/Contents/MacOS/share/lua/sd/
sudo cp -R TuneIn-Radio-VLC-master/playlist/* /Applications/VLC.app/Contents/MacOS/share/lua/playlist/


If you have an TuneIn user, you can modify the `tunein.lua` file in the __username__ and __password__ variables

Start your VLC

Click on `Internet` -> `TuneIn Radio`

Enjoy!

# Project resources

- (https://github.com/diegofn/TuneIn-Radio-VLC)
- [Issue tracker](https://github.com/diegofn/TuneIn-Radio-VLC/issues>)

# Credits

- [Original author](https://github.com/diegofn)
- [Current maintainer](https://github.com/diegofn)
- [Contributors](https://github.com/diegofn/TuneIn-Radio-VLC/graphs/contributors)
Last changelog:

Version 0.7 2 years ago

* Update script for VLC 3.X.X.
* Minor fix on Title and Author columns thanks to @umpirsky
* Fix identation thanks to @hbkfabio

C

diegofn

5 years ago

Hola, debes tener una cuenta de TuneIn, no asociadas con Facebook o Google.

Para probar tus datos, ingresa a Tunein.com y logueate con usuario: "user" y password "password" luego le das logout e intentas con tu usuario.

Me comentas si te funciona y luego al pasar los datos tal cual al script .lua, ten cuidado con espacios al final o algo.

Gracias por utilizar VLC

Report

LEMMORSEBROF

6 years ago

The zipped file has a *.lua file called " tunein-v2.lua " that is the one to copy to
C:\Program Files (x86)\Videolan\VLC\lua\sd

IT can remain as is or change the extension to *.luac, I suggest leaving it as is. plus if you gots an account with tunein, you can specify account in the file. where the line begins here:

--
-- Class TuneInRadio
--
function NewTuneInRadio (username, password)
--
-- TuneIn Radio private members
--
local self = { __username__ = "%username%",
__password__ = "%password%",
__genres_cache__ = {},
__partner_id__ = "yvcOjvJP",
__protocol__ = "http://",
__BASE_URL__ = "opml.radiotime.com",
__formats__ = "aac,html,mp3,wma,wmpro,wmvideo,wmvoice"

Remember tunein-v2.lua to use and modify.

Report

C

diegofn

6 years ago

Hi Thanks for your suggestion, however remeber that v2 is a experimental version. Please don't install

Report

dionymnia

6 years ago

Just wanted to say thank you for this - I'm so glad to be able to use VLC for my Tunein stations. Your work is definitely appreciated!

Report

multumescmult

6 years ago

just registered to thank you.. so useful..

Report

sylkarp

6 years ago

I HAD TO DELETE FILES FORM SD FOLDERS AND I COPY
ALL ZIP PACK WITH MY USR AND PWD IN IT.

PS.MEABY ITS WORKS BECOSUE I DELETE OLD FILE RUN VLC
AND COPY NEW FILES TO IT AGIAN,

THX FOR SCRIPT

HAPPY CAMPER NOW ;-)

Report

sylkarp

6 years ago

IT WAS WORKING GREAT WTIH GENERAL PLAYLIST,
PLAYLIST TRANSFERED FROM TUNEIN.COM.

BUT AFTER WHEN I CREATED 3 FOLDERS IN AND MOVE RADIOSTATION LIST TO SUBFLODER EGZAMPLE:

GENERAL
ENGLISH
POLSISH
STATION

IT STOP WORKING,
I LIKE TO HAVE SUBFOLDERS ON PLAYLIST BECOUSE USE TUNEIN IN SMALL SCREEN SMARTPHONE.

EVEN STATON FROM GENERAL FOLDER NOT WORKING IN VLC ANYMORE.

THUMB UP FOR IDEAS.

PS. USEING VLC 2.1.4 IN FEDORA - LINUX WITH XFACE DESTKTOP.

Report

C

diegofn

5 years ago

Hi,

I'm using the latest version of this lua script and the favorites section I see all folders in my account.

http://imgur.com/nLd7syU

Can you check again please?

Report

johnco1000

6 years ago

Add instructions for Mac users, you know, the NUMBER ONE VLC PLATFORM. Why are the instructions per Addon anyway and not per category?? Why did I have to spend 10 minutes going through a lengthy registration process complete with CAPTCHAs and confirmation emails to leave one lousy comment about something I shouldn't have to comment about in the first place? While your server took 3 minutes to load a page. SO FRUSTRATING

Your page on shoutcast says to get a shoutcast addon from this website because it was taken out of the main release and it's not here. Your website SUCKS

Report

C

diegofn

6 years ago

In Mac OS X please copy the tunein.lua to VLC.app/Contents/MacOS/share/lua/sd and the playlist directory to VLC.app/Contents/MacOS/share/lua/playlist

Report

someanon

6 years ago

Hi,

Great extension, congrats...

In the screenshots you embedded there are the icons of the radios. That's not the case by me. Anything that I can do about that?

Report

katewinslet

7 years ago

Nice surprise this short form. Can you tell us what you speak / write? 
A information. this short form was published before (and I missed it)?

Report

gskegley

7 years ago

I have downloaded the zip file and extracted the files from that. I am on Linux Mint 15 and have tried copying the tunein.lua file to /usr/lib/vlc/lua/sd and it will not copy. I get a message stating that I do not have permission to copy that file. How can I work around that?

Report

C

diegofn

7 years ago

Hi.

Thanks for your interest. Pelase try copy them using sudo prefix command

Report

gskegley

7 years ago

That worked perfectly! Thank you.

Report

emagin

7 years ago

http://goo.gl/HnKV2

Report

jaouad1

7 years ago

i am pretty familiar with copy and past things to the directory folder, etc,, but when i click on download, it opens as a web page where there is some sort of a script, how should i do it then, copy the content, create a new text document in the directory folder and past the content then change the extention to LUAC? i am really looking forward to install and enjoy this

Report

C

diegofn

7 years ago

Hi I suggest to you download the zip file and avoid coding problems on browsers when you copy and paste to .lua file.

Thanks for your interest.

Report

jaouad1

7 years ago

i tired to download the zip file but i get an error page error 404 with a sort of a blue open box,, i don`t mind doing all the copy/past thing, only if it comes in clearer instructions, i will appreciate your help

Report

C

diegofn

6 years ago

Fixed

Report

aldobelusopen

7 years ago

Muy bueno. No tenía mucha confianza en que funcionase porque tiene mal definida la ruta en ÑU/Linux pero ha funcionado y muy bien, con muchas posibilidades. Al menos en Opensuse 12.3 la ruta es siempre ~/.local/share/vlc/lua/, yo no he encontrado otra y haciéndolo así se me ha llenado VLC de emisoras de todo tipo. Gracias por el trabajo!

Report

BlotterMonkey

7 years ago

I have Win7 64 so yeah, was pretty easy:
tunein.luac - C:\Program Files (x86)\VideoLAN\VLC\lua\sd\
radiotime.luac - C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\
streamtheworld.luac - C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\
NOTE:
I changed the ".lua" files to ".luac" and it worked great!

Report

Carhar

7 years ago

this is real cool thanks keep at it

Report

markov2013

7 years ago

Subject: Install TuneIn Radio to VLC 1.1.7 on Puppy Linux Precise 5.4.3
Note 1: TuneIn website under Linux Browsers (Opera, Firefox, Seamonkey, etc) does not have sound, however, through VLC (versin 1 or version 2) tunein sounds perfectly if installed correctly.
Note 2: Packages are due courtesy to author "diegofn" at VideoLan forum "http://forum.videolan.org/viewtopic.php?f=29&t=103587"
Note 3: Installation Confusion - The installation steps given by author "diegofn" most likely are for Linux VLC.2.xxx. However, VLC.2.xxx and VLC.1.xxx might have different directory tree structure once installed. That which TuneIn lua file should be copied to which VLC linux directory confuses people.
Noticing that after VLC.1.xxx is installed in Precise Puppy 5.4.3, there are two "vlc" directories. 1. "/usr/lib/vlc" and 2. "/usr/share/vlc" , and both directories have subdirectory "lua". All three tunein lua files SHOULD be copied to subdirectories "sd" and "playlist" of "/usr/lib/vlc/lua". DO NOT TOUCH "/usr/share/vlc" subdirectories.
1. Three "luc" files are needed; main file: "tunein.lua", playlist files: "radiotime.lua" and "streamtheworld.lua" .
2. Download tunein lua files from http://addons.videolan.org/content/show.php?content=152788. I downloaded the zipped file "TuneIn-Radio-VLC.zip" which includes all three files.
2.0. Edit "tunein.lua" file. In function main(), there are two lines :
local __username__ = "username"
local __password__ = "password"
Replace "username" and "password" by your own TuneIn username and password. Of course you need to go to "http://www.tunein.com" to register as a user in order to get your username and password. The username is most likely be one of your email address.
Save the "tunein.lua" file.
3. Copy "tunein.lua" to "/usr/lib/vlc/lua/sd" directory (the "sd" directory is already existed).
4. Copy "radiotime.lua" and "streamtheworld.lua" to "/usr/lib/vlc/lua/playlist" directory (the "playlist" directory is already existed).
5. DO NOT TOUCH directory "/usr/lib/vlc/lua/extensions", DO NOT CHANGE these three file's extension from "lua" to "luac". In general I guess, "xxx.lua" script files are accepted fine the same way as "xxx.luac" compiled files do under vlc.
6. Run VLC from "Menu" > "Multimedia" > "VLC Video Player" .
7. Choose vlc main menu "View" > "Playlist". A page show up, on the left pane there is an item "Internet", click the arrow precede it, a pull-down menu show up; you will see an item "TuneIn Radio".
8. Click on "TuneIn Radio", and wait a moment; the right pane "playlist" will list many category directories: "My preset", "Local Radio", "Trending", "Music", "News", "Talk", "Sports", "By Location", "By Language", and "Potcast".
9. Try out one radio site in the list to see if it works.
10. Notice that when a clickable line of a particular radio site show up in the playlist pane, the line contains "mms://..." mms url of that radio station. Alternatively you can copy url "mms://..." and paste it to "Media" > "Open Internet Streaming" page "URL" placeholder to listen to the radio.
11. Using (10) streaming method, you can try out radio-audio "mms://bcr.media.hinet.net/RA000014", Classic Music.
12. Using (10) streaming method, you can try out vedio "http://zb.v.qq.com:1863/?progid=1039787969", Beijing TV realtime in video.

Final Remainder:
1. The vlc version I used is "vlc-1.1.7-full-lucid52.pet", because it is free of dependencies. Other version, such as "vlc-1.1.10-i686-lucid525.pet" I tried, cause my some dependencies, and was not work at all.
2. Download it from http://distro.ibiblio.org/puppylinux/pet-packages-lucid/ .
3. Downlad precise-5.4.3.iso from "http://distro.ibiblio.org/quirky/precise-5.4.3/precise-5.4.3.iso"

Report

vsrawat

7 years ago

Thanks for the information which was so useful. I couldn't have made it work without all this.

Thanks again.
--
Rawat
INDIA

Report

Version 0.7 2 years ago

* Update script for VLC 3.X.X.
* Minor fix on Title and Author columns thanks to @umpirsky
* Fix identation thanks to @hbkfabio

5 years ago

Version 0.5
===========
* Update image hosting
* "My presets" change for "Favorites" category
* Minor fix

Version 0.5
===========
* Change PartnerId to support flash based streaming
* Update image URL base

Version 0.4
===========
* Added Trending category
* Fixed zip file download link


Version 0.3
===========
* Bug fixed about TuneIn Password
* Added StreamTheWorld Support
* Added radiotime.com playlist support to navigate podcast, sports, etc tree.

Version 0.2
===========
* Add music menu
* Add custom icon for main categories
* Run plugin as a LUA Object


Version 0.1
===========
* This is the first version, My Presets and Local Radio working
* The LUA Script mapping the Categories and Location nodes

Wish list
=========
* Read the username and password for the Preference Dialog
* Be accepted in VLC git ;)

12345678910
163
product-maker rootidea Apr 29 2020 10 the best
10 the best Vielen Dank!
product-maker djdagovs Jan 10 2020 10 the best
10 the best
product-maker wu-wei Oct 10 2019 10 the best
10 the best Works on Windows 7 with VLC 3.0.7.1
product-maker wallacesilva Jan 09 2018 9 excellent
Great plugin, its works. Thanks man.
product-maker vgoal Nov 12 2016 9 excellent
product-maker darvishrishi Jan 27 2015 9 excellent
product-maker Shd7865 Nov 18 2014 3 bad
product-maker tasjke29 Nov 02 2014 9 excellent
product-maker winoa Aug 22 2013 9 excellent
product-maker MoonBlossom Feb 07 2013 9 excellent
product-maker Base: 4 x 5.0 Ratings
Be the first to comment
rootidea
Apr 29 2020
scottjhuber
Oct 18 2019
hpapa
Sep 06 2019
soerenjeworrek
Sep 09 2018
bolfan
Mar 29 2018
Slayerino
Feb 24 2018
Sp4nkd1zzl3
Feb 21 2018
kvilla76
Feb 08 2018
id10t
Sep 30 2015
mikeybaby72
Dec 17 2014
lupin492
Nov 04 2014
valobal
Oct 26 2014
LEMMORSEBROF
Oct 16 2014
BlotterMonkey
Mar 29 2013
MoonBlossom
Feb 07 2013
tonysilva
Nov 27 2012
prezza
Sep 17 2012
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
MIT License
version
0.7
updated Aug 29 2020
added Jul 22 2012
downloads 24h
9
mediaviews 24h 0
pageviews 24h 125
System Tags addon mit-license