TuneIn Radio

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

14
6.8
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

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

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

sylkarp

5 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

5 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

4 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

5 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

4 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

5 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

5 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

5 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

5 years ago

Hi.

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

Report

gskegley

5 years ago

That worked perfectly! Thank you.

Report

emagin

5 years ago

http://goo.gl/HnKV2

Report

jaouad1

6 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

6 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

6 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

4 years ago

Fixed

Report

aldobelusopen

6 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

6 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

6 years ago

this is real cool thanks keep at it

Report

markov2013

6 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

5 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

zRPG

5 years ago

Thank you! Author thank too!

Report

Nyltino

6 years ago

People, open those eyes ... he has the file extentions as .lau they need to be .lauc


so simply add a "c" to the end of each extention and it works fine.

Report

kiwichick888

6 years ago

Hi Nyltino, Thanks for the reply but it was the zip file I used. In view of the problems I'm having I have no idea what files need to go where or if they're even all necessary but I've placed the various files here:

radiotime.lua and streamtheworld.lua:
C:\Program Files (x86)\VideoLAN\VLC\lua\playlist
C:\Program Files (x86)\VideoLAN\VLC\lua\sd
C:\Users\{...}\AppData\Roaming\vlc\lua\extensions

tunein.lua:
C:\Program Files (x86)\VideoLAN\VLC\lua\sd
C:\Users\{...}\AppData\Roaming\vlc\lua\extensions

As I said earlier, TuneIn Radio will only appear in the 'Plugins and Extensions' window and 'View' menu if C:\Users\{...}\AppData\Roaming\vlc\lua\extensions is used. But selecting it in the View menu does nothing. And the entry in the Plugins and Extensions windows has no info - it just shows the 'TuneIn Radio' entry name. Hope this helps.

Report

kiwichick888

6 years ago

Hi there, I love this idea. But I can't get it to work.

Firstly though, sorry, but is your path correct? Shouldn't this:
C:/program files (x86)/VLC/VideoLAN/lua/sd

Be this:
.../VideoLAN/VLC/...

And I'm confused by your installation instructions. I'm running Windows 7 64-bit. I've put the files here:

tunein.lua - C:\Program Files (x86)\VideoLAN\VLC\lua\sd\
radiotime.lua - C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\
streamtheworld.lua - C:\Program Files (x86)\VideoLAN\VLC\lua\playlist\

But nothing shows in the View menu or in Tools/Plugins and extensions. I'm not very familiar with ula files but I found that the only way to make extensions appear in these two places is to place lua files here:

C:\Users\Owner\AppData\Roaming\vlc\lua\extensions\

So I put all three lua files there and TuneIn Radio now appears in both locations but when I click it in the View menu nothing happens. Is there something else I need to do?

Report

C

diegofn

6 years ago

Hi I noticed in Windows that the encoding file is important for it. Can you test again with the zip file. Thanks for using my plugin!

Report

Version 0.7 1 year ago

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

6 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
16
product-maker wallacesilva Jan 09 2018 8 great
Great plugin, its works. Thanks man.
product-maker vgoal Nov 12 2016 8 great
product-maker darvishrishi Jan 27 2015 8 great
product-maker Shd7865 Nov 18 2014 3 bad
product-maker tasjke29 Nov 02 2014 8 great
product-maker winoa Aug 22 2013 8 great
product-maker MoonBlossom Feb 07 2013 8 great
product-maker Count:2 Rating: 5.00
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.7
updated Jan 08 2018
added Jul 22 2012
downloads today
6
page views today 93
System Tags addon
+