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)\VideoLAN\VLC\` or to `%AppData%/VLC/VideoLAN/lua/sd` if exists

xcopy TuneIn-Radio-VLC-master\tunein.lua "C:\Program Files (x86)\VideoLAN\VLC\lua\sd"
xcopy TuneIn-Radio-VLC-master\playlist\* "C:\Program Files (x86)\VideoLAN\VLC\lua\playlist"

**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

- [source code](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 4 months ago

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

bolfan

1 month ago

Great thanks for the plugin. Basically, it works like a charm. It retrieves and updates a pretty abundant list of stations.
Únicamente no me permite usar mi suscripción de "TuneIn Premium". Me conecto con VPN al servicio en los EEUU, pero no acepta los datos id de mi cuenta con TuneIn (es un login directo y no por Google u otro servicio). En cambio, sobre la propia página web de TuneIn sí me funciona bien alcanzar y usar mi cuenta 'Premium'. Entonces me imagino que la limitación del plugin no se produzca por exclusión regional (es decir que la conexión VPN definitivamente funciona bien), sino por falla de transmisión (por el plugin) o aceptación (por el servidor) de los datos de acceso.
Thanks

Report

wallacesilva

4 months ago

Great plugin, its works. Thanks man.

Report

dannyjones

4 months ago

thanks for this information..

Report

Nothem196

9 months ago

This addon is outdated and isn't working properly , could you please update it?

Report

freetoair

1 year ago

Does not work properly. A lot of work with no real gain. I think that the addon should be removed as it just makes VLC look bad. Can you imagine apple letting a third party push garbage like this? Had to rename the lua files and even then the drop down menus for the categories do not produce anything. Utter garbage

Report

dlawton

3 years ago

This just doesn't work. I followed the directions and placed streamtheworld.lua and radiotime.lua in Program Files\VideoLAN\VLC\lua\playlist and tunein.lua in Program Files\VideoLAN\VLC\lua\sd. There was still no TuneIn option under Internet in Playlist. I then went through and changed the files to .luac as someone else recommended and still nothing. So, this just doesn't work and is a huge waste of time. Anyone who got this working must be a magician.

Report

ricardonuno

3 years ago

Hey, dlawton!

First, changing the extension from lua to luac didn't work here too. So, you have to download an older version of vlc, like v1.1.11 for example.

http://download.videolan.org/vlc/1.1.11/win32/

And I've found a trick too: editing tunein.lua can ruin the hole thing. I mean, after editing tunein.lua with windows notepad the plugin wasn't recognized by vlc anymore. I had to do it with a software named Notepad2.

http://sourceforge.net/projects/notepad2/

Then place the file at:
C:\Program Files\VLC\lua\sd

The other two at:
C:\Program Files\VLC\lua\playlist

This worked for me on Windows 7.

Report

neckrom

2 years ago

you can use this service here to compile the lua files (converts them to luac) and then use those files like in the install instructions.

https://luac.mtasa.com/

Report

id10t

2 years ago

Very little magic used. Used the converter at https://luac.mtasa.com/ as advised to convert playlist files to ulac. Downloaded LuaEdit and edited user name and password. Works great! Copied the streams I frequent use to the VLC Media Library and made my own playlist.

Report

Echopseudocox

3 years ago

please help! Every single zip file I download is downloaded to VLC and won't open with any other file?! How do I get rid of this? I need to open my .zip files and I cant figure it out?!

Report

jdwicked129

3 years ago

I can't find %AppData%/VLC/VideoLAN/lua/sd at all in windows 8. Can anybody help? I did find several appdata folders but none where specified in the same order as mentioned in the directions.

Report

C

diegofn

3 years ago

Hi, you can only use the VLC desktop version, the Metro version until doesn't support lua scripts.

Report

enricosx

3 years ago

hello, how can i find http://tunein.com/radio/Universo-MDZ-s218623/ ?
Universo MDZ
http://www.universomdz.com/home.html

i want record it with Windows

Report

C

diegofn

3 years ago

Hi on the TuneIn Radio Website the Universo MDZ doesn't have streams available. Please take patient until they found one link!

Report

MichaelRpdx

3 years ago

I've long wanted a way to use TuneIn on my laptop without the web interface. This plugin does a great job of integrating TuneIn with my favorite music player.

Thank You!

Report

MichaelRpdx

3 years ago

If you're having issues with selecting stations...

I found the instructions to be ambiguous.

radiotime.lua and streamtheworld.lua need to go to
~/.local/share/vlc/lua/playlist/

Report

lupin492

3 years ago

Thank you so much!

Report

MerryMarjie

3 years ago

I had only a little trouble, mostly with the zip unpacker, but I now have TuneIn on my VLC player and I'm very pleased. Thanks for this great add-on, one I'm sure I'll use every day!

Report

valobal

3 years ago

Muchas gracias Diego.
Lo he probado y funciona perfecto sobre VLC en Mac OSX.
Lo que no puedo hacer funcionar es sincronizar mi cuenta TuneIn para poder cargar mis presets y favoritos.
He intentado reemplazando como dices los __username__ and __password__ variables, en el siguiente string


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



pero no resulta...
Si dejo el archivo "tunein.lua" tal cual viene, me carga Favorites con dos radios: una "Malay" y otra que está escrita con caracteres chinos.

Hay alguna opción de acceder a una cuenta TuneIn registrada y cargar los favoritos en OSX? o sólo funciona para PC y demas sistemas operativos?
Gracias!

Report

C

diegofn

3 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

3 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

3 years ago

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

Report

dionymnia

3 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

3 years ago

just registered to thank you.. so useful..

Report

sylkarp

4 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

Version 0.7 4 months 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 ;)

File (click to download) Version Description Packagetype Architecture Downloads Date Filesize DL OCS-Install
Pling me
Details
license
version
0.7
updated Jan 08 2018
added Jul 22 2012
downloads today
0
page views today 75
System Tags addon