# Store TuneIn-Podcast favourites to SD

**URL:** <https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492>\
**Category:** Pi MusicBox (archive)\
**Created:** [December 26, 2014, 11:07am UTC](https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492 "2014-12-26T11:07:01Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![raspi](https://avatars.discourse-cdn.com/v4/letter/r/9dc877/32.png) [@raspi](https://discourse.mopidy.com/u/raspi)\
**Post date:** [December 26, 2014, 11:07am UTC](https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492/1 "2014-12-26T11:07:02Z")

</div>

Hello everybody.  
I’m a Raspberry Pi and Mopidy newbie.  
Thanks to [Possibility to store Dirble / Tunein radio channels on SD card](https://discourse.mopidy.com/t/possibility-to-store-dirble-tunein-radio-channels-on-sd-card/415) I managed it to save my favourite tunein stations (Thanks guys ;)).

In my newfound zeal I also tried to add TuneIn-podcast. But I failed.  
Here are my attempts:

**1) trying e.g. tunein:podcast:p229824:**

```
   #EXTM3U
   #EXTINF:-1, Podcast 
   tunein:podcast:p229824

```

This failed. I did not get any music played. MusicBox tried to reach the stream but there was no respond.

**2) trying e.g. tunein:station:p229824**:  
Next I tried to configure the podcast stream as an radio station.

```
   #EXTM3U
   #EXTINF:-1, Podcast 
   tunein:station:p229824

```

This failed also. MusicBox was loading and playing a file, but it was a warning that this station isn’t available.

So you can see I tried to get it running but it failed in all my attempts. I would be happy about your ideas and help. What am I doing wrong? Is it possible at all?

regards  
raspi

P.S.: Oh, what i forgot to write: These files were stored in /var/lib/mopidy/playlists/Favourites.m3u so I saw them in “Playlist”.

**UPDATE:** They can be stored in /opt/webclient/js/streamuris.js

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [January 3, 2015, 8:27pm UTC](https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492/2 "2015-01-03T20:27:54Z")

</div>

> [@raspi](#):
>
> tunein:podcast:p229824

To be honest the podcast handling is broken. I had lots of problems when trying to test it, with many of the results being unplayable/expired and no obvious way to filter them out. Looking at the code now (after a long time!) it seems only stations are playable like this and anything else will fail silently. Obviously this is rubbish and I’ll try and improve on it.

> [@raspi](#):
>
> tunein:station:p229824

Now, ‘stations’ are supported but if the id starts with a `p` that’s actually a ‘program’ in TuneIn speak; these are are weird special case which must be [first browsed](http://opml.radiotime.com/Tune.ashx?c=pbrowse&id=p229824&render=xml) rather than than [played directly](http://opml.radiotime.com/tune.ashx?id=p229824&render=xml) and hence why this currently doesn’t work. This should (and will) also be improved. After all the promises, TuneIn never actually let me into their developer portal/docs so I lost interest in everything. But bug reports like this make it interesting again - thanks!

---

<div class="post-metadata">

**Author:** ![Roy\_Schofield](https://avatars.discourse-cdn.com/v4/letter/r/a9adbd/32.png) [@Roy\_Schofield](https://discourse.mopidy.com/u/Roy_Schofield)\
**Post date:** [December 24, 2015, 9:55am UTC](https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492/3 "2015-12-24T09:55:50Z")

</div>

I have a pi musicbox working fine with a NAS drive but have failed to get radio stations working on tunein. I’ve created a playlist and added details to streamuris.js but to no avail. The radio station appears in the now playing box but no sound appears. Grateful for any help.  
Thanks  
Roscho

---

<div class="post-metadata">

**Author:** ![gthieleb](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/gthieleb/32/949_2.png) [@gthieleb](https://discourse.mopidy.com/u/gthieleb)\
**Post date:** [January 23, 2017, 10:05am UTC](https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492/4 "2017-01-23T10:05:24Z")

</div>

Is getting stations from tunein possible by now? Alternatively I would also get used to other radio stream services.  
Where can I find the code which handles that?

Rgds,  
Gunnar

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [January 23, 2017, 10:42am UTC](https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492/5 "2017-01-23T10:42:52Z")

</div>

I think so. You’ll find all the code at [https://github.com/kingosticks/mopidy-tunein](https://github.com/kingosticks/mopidy-tunein)

---

<div class="post-metadata">

**Author:** ![gthieleb](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/gthieleb/32/949_2.png) [@gthieleb](https://discourse.mopidy.com/u/gthieleb)\
**Post date:** [January 24, 2017, 9:17am UTC](https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492/6 "2017-01-24T09:17:42Z")

</div>

Thanks,  
tunein works so far. What am I missing is bookmark/favorite (using wouters webclient). As I want install mopidy (on raspbian) on more pi stations im wondering how the config/favorites are shared between multiple stations? Can someone explain? I want first start with a simple setup, several unsynced stations (without using snapcast).

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [January 24, 2017, 10:54am UTC](https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492/7 "2017-01-24T10:54:39Z")

</div>

In the version you’re using on pimusicbox the favourites are stored in your local browser cookies rather than on the server and are therefore not shared between all the clients.

This is improved upon in more recent versions of musicbox-webclient but that’s (still) not available for pimusicbox. You have to upgrade parts of your system to get the later versions of musicbox-webclient to work but it’s not supported and it might break. If you want to try you can find the steps on the forum here somewhere.

---

<div class="post-metadata">

**Author:** ![kingosticks](https://avatars.discourse-cdn.com/v4/letter/k/858c86/32.png) [@kingosticks](https://discourse.mopidy.com/u/kingosticks)\
**Post date:** [January 24, 2017, 11:08am UTC](https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492/8 "2017-01-24T11:08:53Z")

</div>

And if you search for ‘streamuris’ on here you’ll find a load of info about this. Another hacky way is to manually edit the streamuris.js file on the sever to contain all the favourites that you want to share between clients. Just remember that anything you add via the web browser will only be available in that particular web browser.

> [@Different radios/playlists on different browsers](https://discourse.mopidy.com/t/different-radios-playlists-on-different-browsers/811):
>
> Hiya, I’ve just installed and setup Mopidy, it’s pretty awesome. I’m using 2 different browsers to access the web interface. If I add radio stations via one browser, I can’t see them on the interface from the other browser. How does that work? Aren’t the stations stored on the server? Is there a way for me to sync everything? Thanks a lot smile

---

<div class="post-metadata">

**Author:** ![jodal](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.mopidy.com/jodal/32/2564_2.png) [@jodal](https://discourse.mopidy.com/u/jodal)\
**Post date:** [February 19, 2026, 11:47am UTC](https://discourse.mopidy.com/t/store-tunein-podcast-favourites-to-sd/492/9 "2026-02-19T11:47:21Z")

</div>


