2014-07-22, 01:53
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:
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...
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:
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:
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:
Information about the supported sources:
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:
You can also add the currently playing video to a blacklist, so that it will never be played again:
All this maybe sounds a bit complicated - but the configuration time is worth it
Of course, you can also post and share your channel configurations here.
All feedback is welcome...
Available via my Testing-Repo
Have fun
asde
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...

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>
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>
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)
Code:
RunPlugin(plugin://plugin.video.my_music_tv/?mode=addToBlacklist)
All this maybe sounds a bit complicated - but the configuration time is worth it

Of course, you can also post and share your channel configurations here.
All feedback is welcome...
Available via my Testing-Repo
Have fun

asde