Description:

Tunein-Radio-VLC
================

TuneIn Radio for VLC is a Service Discovery Script to listen your favorite Radio Station in our Favorite Media Player

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

How to Install
==============

1. Copy the tunein.lua in the share/lua/sd directory. In Linux the directory is ~/.local/share/vlc/lua/sd/

In Windows the directory is %AppData%/VLC/VideoLAN/lua/sd.

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

Optionally, on Linux please copy tunein.lua to /usr/lib/vlc/lua/sd and playlist folder to /usr/lib/vlc/lua/playlist/ or run the following command
sudo cp tunein.lua /usr/lib/vlc/lua/sd/; cp playlist/* /usr/lib/vlc/lua/playlist/

2. If you have an TuneIn user, you can modify the script in the username and password variables

3. Copy the playlist/radiotime.lua and playlist/streamtheworld.lua to share/lua/playlist directory, with this playlist you can browse the Podcast, news or sports directory since VLC

6. Please don't copy the tunein-v2 or the extension. This is a experimental version

5. Start your VLC

6. Enjoy
Last changelog:

4 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 ;)

freetoair

6 months 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

2 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

2 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

1 year 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

1 year 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

2 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

2 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

diegofn

2 years ago

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

Report

enricosx

2 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

diegofn

2 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

2 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

2 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

2 years ago

Thank you so much!

Report

MerryMarjie

2 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

2 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

diegofn

2 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

2 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

diegofn

2 years ago

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

Report

dionymnia

2 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

2 years ago

just registered to thank you.. so useful..

Report

sylkarp

3 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

3 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

diegofn

2 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

3 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

diegofn

2 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

4 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 Filetype Packagetype License Downloads Date Filesize OCS-Install
Score 57%
57.00 Likes
43 Dislikes
Details
version
updated Aug 29 2015
added Jul 22 2012
downloads
page views 26996