[RELEASE] My Music TV
#1
Hi,
this addon is the All-In-One solution for the most important music video sources. You can create your own channels from various sources.

Supported sources:
  • Local music videos (Directories / SmartPlaylists / XML Shareable Playlist Format)
  • VEVO (Playlists / Artists / Charts)
  • Spotify (Playlists / Artists / Albums)
  • Deezer (Playlists / Charts / Radio / Artists / Albums)
  • Muzu (User Playlists / Channel Playlists)
  • Youtube Playlists
  • Dailymotion Playlists
  • iTunes Charts
  • Reddit

Spotify playback is done via Youtube. This works really well, because of that I also wrote a small separate addon for Spotify playlists: SpotiTube.
Youtube search queries are cached for 24 hours.

You can create the channels with a text/xml editor of your choice. Configuration via XBMC is not possible - and not planned... Wink
Simply create one .xml per channel in the channel directory (../XBMC/userdata/addon_data/plugin.video.my_music_tv/channels). The filename conforms the title in XBMC.

A simple example:
Code:
<channel>
    <entry type="vevo:playlist" value="8b75ba3c-4322-4946-9288-949b6ac1bf5b" />
</channel>
There are also 3 optional attributes per channel: 'thumb', 'shuffled' and 'unwatched'.
Per default, all videos per channel are played in random order (shuffled="yes"). If you want the channel to be played in original order, you can force this via shuffled="no".
Also, all videos are played per default. It's possible to play only unwatched videos by using unwatched="yes". The watched state is saved separately for each channel.
2 attributes are required for each entry: 'type' and 'value'. The following 3 attributes are optional: 'title', 'limit' and 'cache'.
'title' is for your own organisation - you should use it. The maximum amount of videos per entry can be set via 'limit'. Useful for charts.
You can use 'cache' to force the caching duration in days. Default caching duration: see below

Example with all possible attributes:
Code:
<channel thumb="THUMB_URL" shuffled="no" unwatched="yes">
    <entry title="VEVO: Top20 Today" type="vevo:charts" limit="20" cache="1" value="all:MostViewedToday" />
</channel>
A channel could contain as much sources as you want, but you should not use too much (1 entry = 1 request).
If a video occurs in multiple sources, it only gets added once: Priority: Directories->SmartPlaylists->xspf->VEVO->Muzu->Youtube->Dailymotion->Reddit->Spotify

Example for a channel with multiple sources:
Code:
<channel>
    <entry title="VEVO: Staff Picks (German)" type="vevo:playlist" value="4d9ce4e3-3391-45cf-a472-b968ef6f4ba9" />
    <entry title="VEVO: Top50 Alternative" type="vevo:charts" limit="50" value="alternative:MostViewedWeek" />
    <entry title="VEVO: Top50 Indie" type="vevo:charts" limit="50" value="indie:MostViewedWeek" />
    <entry title="VEVO: Top50 Rock" type="vevo:charts" limit="50" value="rock:MostViewedWeek" />
    <entry title="Spotify: Top50" type="spotify:playlist" limit="50" value="spotify:4hOKQuZbraPDIfaGbM3lKI" />
    <entry title="Spotify: New Music Friday Germany" type="spotify:playlist" value="spotify_germany:4HdOsN3i6umE8rN1y75NBi" />
    <entry title="Spotify: Top30 Germany" type="spotify:playlist" limit="30" value="spotify:2vWo3FE3W86L3DHTGh2B2l" />
    <entry title="Spotify: Viral30 Germany" type="spotify:playlist" limit="30" value="spotify_germany:0X1dFE1Bax2j1tbCRzI4Ol" />
    <entry title="Spotify: Top20 Rock" type="spotify:playlist" limit="20" value="spotify:3qu74M0PqlkSV76f98aqTd" />
    <entry title="Reddit: Top10/Week ListenToThis" type="reddit" limit="10" value="listentothis:top:week" />
</channel>

Information about the supported sources:
Code:
Local music videos:
  - Directories
    type: "folder"
    value: "FULL_PATH" | Examples: "/folder", "c:\folder", "smb://HOST/SHARE"
    (Local: All subfolder levels, Network: One subfolder level)
  - SmartPlaylists
    type: "xsp"
    value: "FULL_PATH" | Example: "special://profile/playlists/video/SMARTPLAYLIST.xsp"
    (The path must be provided in the "special://" format)
  - XML Shareable Playlist Format
    type: "xspf"
    value: "FILENAME" | Example: "PLAYLIST.xspf"
    (The playlist format is used for playlists created with the addon)
VEVO:
  - Playlists
    type: "vevo:playlist"
    value: "PLAYLIST_ID"
    You can find the ID in the url: http://www.vevo.com/watch/playlist/PLAYLIST_ID
    Default caching duration: 7 days
  - Artists
    type: "vevo:artist"
    value: "ARTIST_ID"
    You can find the ID in the url: http://www.vevo.com/artist/ARTIST_ID
    Default caching duration: 30 days
  - Charts / Live-Concert-Charts
    type: "vevo:charts" / "vevo:livecharts"
    value: "GENRE_ID:ORDER_ID"
    GENRE_IDs: 'all' + http://www.vevo.com/browse | http://api.vevo.com/mobile/v1/genre/list.json
    ORDER_IDs: 'MostViewedToday' | 'MostViewedWeek' | 'MostViewedAllTime'
    Default caching duration: 7 days
Spotify:
  - Playlists
    type: "spotify:playlist"
    value: "USER_ID:PLAYLIST_ID"
    You can find the ID in the url: https://play.spotify.com/user/USER_ID/playlist/PLAYLIST_ID
    Default caching duration: 7 days
  - Artists
    type: "spotify:artist"
    value: "ARTIST_ID"
    You can find the ID in the url: https://play.spotify.com/artist/ARTIST_ID
    (Only the Top10 tracks are added per artist)
    Default caching duration: 30 days
  - Albums
    type: "spotify:album"
    value: "ALBUM_ID"
    You can find the ID in the url: https://play.spotify.com/album/ALBUM_ID
    Default caching duration: 30 days
  (Spotify Standalone-App: Right Click->Copy Spotify URI)
iTunes Charts:
    type: "itunes"
    value: "COUNTRY_ID:GENRE_ID"
    All COUNTRY_IDs can be found here: https://rss.itunes.apple.com/
    You can also test chart-lists there: Country->Media Type:Music!->Feed Type:Top Songs->Size:100->Genre
    You can find the GENRE_ID in the url: https://itunes.apple.com/COUNTRY_ID/genre/music-GENRE_NAME/idGENRE_ID
    A list of all genres: https://itunes.apple.com/us/genre/music/id34
    Default caching duration: 7 days
Deezer:
  - Playlists
    type: "deezer:playlist"
    value: "PLAYLIST_ID"
    You can find the ID in the url: http://www.deezer.com/playlist/PLAYLIST_ID
    Default caching duration: 7 days
  - Charts
    type: "deezer:charts"
    value: "GENRE_ID"
    You can find the ID in the url: http://www.deezer.com/tops/track/GENRE_NAME-GENRE_ID
    (All Genres: '0' | http://api.deezer.com/editorial)
    Default caching duration: 7 days
  - Radio
    type: "deezer:radio"
    value: "RADIO_ID"
    You can find the ID in the url: http://www.deezer.com/radio/genre/RADIO_ID
    Default caching duration: 7 days
  - Artists
    type: "deezer:artist"
    value: "ARTIST_ID"
    You can find the ID in the url: http://www.deezer.com/artist/ARTIST_ID
    (Es werden die Top100 Tracks des Artists hinzugefügt)
    Default caching duration: 30 days
  - Albums
    type: "deezer:album"
    value: "ALBUM_ID"
    You can find the ID in the url: http://www.deezer.com/album/ALBUM_ID
    Default caching duration: 30 days
Muzu:
  - User Playlists
    type: "muzu:user"
    value: "USER_ID:PLAYLIST_ID"
    You can find the ID in the share-url: http://www.muzu.tv/user/USER_ID/playlists/PLAYLIST_NAME/PLAYLIST_ID/
    Default caching duration: 7 days
  - Channel Playlists
    type: "muzu:channel"
    value: "CHANNEL_ID:PLAYLIST_ID"
    You can find the ID in the url: http://www.muzu.tv/channel/CHANNEL_ID/playlists/PLAYLIST_NAME/PLAYLIST_ID/
    Default caching duration: 7 days
Youtube Playlists:
    type: "youtube"
    value: "PLAYLIST_ID"
    You can find the ID in the url: http://www.youtube.com/playlist?list=PLAYLIST_ID
    Default caching duration: 7 days
Dailymotion Playlists:
    type: "dailymotion"
    value: "PLAYLIST_ID"
    You can find the ID in the url: http://www.dailymotion.com/playlist/PLAYLIST_ID/
    Default caching duration: 7 days
Reddit:
    type: "reddit"
    value: "REDDIT_ID:ORDER_ID:TIME_ID"
    You can find the REDDIT_ID in the url: http://www.reddit.com/r/REDDIT_ID/
    ORDER_IDs: 'hot', 'top', 'comments'
    TIME_IDs: 'hour', 'day', 'week', 'month', 'year', 'all'
    Default caching duration: 7 days
    (A useful music reddit overview: http://www.tubalr.com/subreddits)

Per default, a notification appears 5 seconds after video playback has begun. Could be changed/deactivated via the addon settings.
It's also possible to add the currently playing video to playlists. These xspf playlists could then also be used as sources for channels.
You can map the following command to a key, use Commands, or do whatever you want with it:
Code:
RunPlugin(plugin://plugin.video.my_music_tv/?mode=addToPlaylist)
You can also add the currently playing video to a blacklist, so that it will never be played again:
Code:
RunPlugin(plugin://plugin.video.my_music_tv/?mode=addToBlacklist)

All this maybe sounds a bit complicated - but the configuration time is worth it Wink
Of course, you can also post and share your channel configurations here.
All feedback is welcome...

Available via my Testing-Repo

Have fun Smile
asde
Reply
#2
You're on a roll, great work as always... thanks
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Twitter | Help?
Reply
#3
nice one,
i hope people will share their list,

thanks
Reply
#4
Again a awesome addon, thanks Wink
Reply
#5
I think it would be great if instead of automatically playing a channel, it lists all videos availbe and there is an option to "Play all" similar to the vevo plugin.
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Twitter | Help?
Reply
#6
v1.0.1:
- Fixed history (unwatched mode)
v1.0.2:
- Fixed bug when using network shares as data directories
- Added needed modifications for PTVL

(2014-07-27, 01:51)Lunatixz Wrote: I think it would be great if instead of automatically playing a channel, it lists all videos availbe and there is an option to "Play all" similar to the vevo plugin.
The intention was to build tvmode-like channels that only autoplay musicvideos.
There are already enough addons available to browse music videos...
Reply
#7
I just wanted to say thanks for creating and sharing this brilliant addon. It takes a little effort to set up, but the results are more than worth it. Thankyou! Big Grin
Reply
#8
(2014-07-27, 16:25)AddonScriptorDE Wrote: v1.0.1:
- Fixed history (unwatched mode)
v1.0.2:
- Fixed bug when using network shares as data directories
- Added needed modifications for PTVL

(2014-07-27, 01:51)Lunatixz Wrote: I think it would be great if instead of automatically playing a channel, it lists all videos availbe and there is an option to "Play all" similar to the vevo plugin.
The intention was to build tvmode-like channels that only autoplay musicvideos.
There are already enough addons available to browse music videos...

fair enough, but by creating a plugin that pools different sources you've created something very unique Smile
Thanks for merging my PseudoTV Live request.
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Twitter | Help?
Reply
#9
v1.0.3:
- Changed default caching duration (see first post)
Reply
#10
(2014-07-27, 20:19)Lunatixz Wrote:
(2014-07-27, 16:25)AddonScriptorDE Wrote: v1.0.1:
- Fixed history (unwatched mode)
v1.0.2:
- Fixed bug when using network shares as data directories
- Added needed modifications for PTVL

(2014-07-27, 01:51)Lunatixz Wrote: I think it would be great if instead of automatically playing a channel, it lists all videos availbe and there is an option to "Play all" similar to the vevo plugin.
The intention was to build tvmode-like channels that only autoplay musicvideos.
There are already enough addons available to browse music videos...

fair enough, but by creating a plugin that pools different sources you've created something very unique Smile
Thanks for merging my PseudoTV Live request.

Thank you both
first_time_user (wiki) | free content (wiki) | forum rules (wiki) | PVR (wiki) | Debug Log (wiki)

IMPORTANT:
The official Kodi version does not contain any content what so ever. This means that you should provide your own content from a local or remote storage location, DVD, Blu-Ray or any other media carrier that you own. Additionally Kodi allows you to install third-party plugins that may provide access to content that is freely available on the official content provider website. The watching or listening of illegal or pirated content which would otherwise need to be paid for is not endorsed or approved by Team Kodi.
Reply
#11
hey,
from your post i just got familiar with reddit/listentothis, great subreddit,

is there a way to implement their playlists/charts with your plugin (http://www.reddit.com/r/listentothis/sea...rict_sr=on)

thanks

ps, birp.fm playlists support would also be great http://www.birp.fm/
Reply
#12
v1.0.4:
- Added Deezer support

(2014-07-29, 11:03)hasamba Wrote: hey,
from your post i just got familiar with reddit/listentothis, great subreddit,
is there a way to implement their playlists/charts with your plugin (http://www.reddit.com/r/listentothis/sea...rict_sr=on)
Should be possible to add single charts, but they are not dynamically. So you would need to manually update them. Because of that I'm not sure if I should add support for reddit charts...

(2014-07-29, 11:03)hasamba Wrote: ps, birp.fm playlists support would also be great http://www.birp.fm/
I'll have a look at it. There are a lot of sites like that - maybe I'll add support for one or more of them.
8tracks also looks interesting - but I couldn't find a way to get the playlist tracks at a first look.
Reply
#13
Hi people,

great add-on!! I got some VEVO lists working, but somehow I can't figure out how to play local videoclips. This is the line I thought should do it

<channel>
<entry type="xsp" value="special://profile/playlists/video/TMF.xsp" />
</channel>

Also tried replacing "PROFILE" with "userdata".

How can I add my local videoclips to my channels??

Same goes for the Youtube playlists. I want to add PLu7ArEk2USh_nqhmLASc_q65l-BAVDwFS

<channel>
<entry type="youtube" value="PLu7ArEk2USh_nqhmLASc_q65l-BAVDwFS" />
</channel>

I keep getting the Error in script message....
Reply
#14
(2014-08-04, 16:11)werewolf80 Wrote: Hi people,

great add-on!! I got some VEVO lists working, but somehow I can't figure out how to play local videoclips. This is the line I thought should do it

<channel>
<entry type="xsp" value="special://profile/playlists/video/TMF.xsp" />
</channel>

Also tried replacing "PROFILE" with "userdata".

How can I add my local videoclips to my channels??

Same goes for the Youtube playlists. I want to add PLu7ArEk2USh_nqhmLASc_q65l-BAVDwFS

<channel>
<entry type="youtube" value="PLu7ArEk2USh_nqhmLASc_q65l-BAVDwFS" />
</channel>

I keep getting the Error in script message....
+1 same issue in my set up.Tried with you tube playlistsSad
Reply
#15
Encoding problem: Example from plist

["\xe3\x82\xaa\xe3\x83\xac\xe3\x82\xb9\xe3\x82\xab\xe3\x83\x90\xe3\x83\xb3\xe3\x83\x89 -- \xe9\x81\x8a\xe3\x81\xbc\xe3\x81\x86\xe3\x82\x88 [Japanese ska] (2010) Oreskaband's Asobouyo, which translates to 'Let's Play'.", 'plugin://plugin.video.my_music_tv/?url=plugin%3A%2F%2Fplugin.video.youtube%2F%3Fpath%3D%2Froot%2Fvideo%26action%3Dplay_video%26videoid%3Dxta412ejji4&mode=playYT', 'http://i.ytimg.com/vi/xta412ejji4/hqdefault.jpg']
Image Lunatixz - Kodi / Beta repository
Image PseudoTV - Forum | Website | Youtube | Twitter | Help?
Reply



Logout Mark Read Team Forum Stats Members Help
[RELEASE] My Music TV0
This forum uses Lukasz Tkacz MyBB addons.