Displaying music video icon in song list
#1
Like the title says i would like to have a link to the music video appear next to a song title if a video exists for said song and allows the user to move to it from the list. Is this possible even via a script? If not is anyone willing to give it a try making one? I would myself but I know nothing about python.

e.g.

01. a song.mp3
02. another song.mp3
03. and another song.mp3 (focused) > [video button]
04. and one more.mp3
Reply
#2
it's only possible using a script.
i don't mind giving it a shot :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#3
It would make sense to have the same for videos in slideshows.
Reply
#4
@tree_jammer:

script.song-to-musicvideo

see README.txt for instructions.

let me know if there's any issues :-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#5
ronie to the rescue.
Reply
#6
Hitcher Wrote:ronie to the rescue.

heh, you know how these things go...

most likely i'm gonna get a bunch of requests to add this and that as well, which i don't have time for.

then `Black will take over. ;-)
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#7
I like the way you think. Nod
Reply
#8
Big Grin
Image
Reply
#9
dude I love you. I shall ask you for nothing more.*

Will hopefully have something to show you in a day or two.

*not a guarantee Big Grin
Reply
#10
This is what makes this community so damn great.
Reply
#11
think bluecop was working on the vevo addon to import the music videos to the library. would work well with your script since nearly all videos are on vevo.

don't know if he is still working on it mind.
Reply
#12
thanks ronie! works great. Smile

If you ever need any artwork or graphics just let me know!

Just out of interest I'm pretty competent at programming just not python and JSON. Know anywhere with good tutorials? Looks like it could be really useful to know
Reply
#13
tree_jammer Wrote:thanks ronie! works great. Smile

If you ever need any artwork or graphics just let me know!

Just out of interest I'm pretty competent at programming just not python and JSON. Know anywhere with good tutorials? Looks like it could be really useful to know

Be carefull what you promise here Wink

Like the saying: give a finger and they will take your whole hand Big Grin


Python is really really easy to learn if you already have some coding skills.
Judging from that skin you made you know some coding so it shouldn't take long.
Here's some (outdated) info for starters:
http://forum.xbmc.org/showthread.php?tid=68337

Just look at severel others add-ons on how things are done and before you know you will be well under way making your own script (which we can use Big Grin )

Feel free to ask on the forum on how to do things. Soon I will be doing some wiki updating on getting started with add-ons/plugins
Read/follow the forum rules.
For troubleshooting and bug reporting, read this first
Interested in seeing some YouTube videos about Kodi? Go here and subscribe
Reply
#14
tree_jammer Wrote:If you ever need any artwork or graphics just let me know!
cheers, i'll keep that in mind :-)

tree_jammer Wrote:Just out of interest I'm pretty competent at programming just not python and JSON. Know anywhere with good tutorials? Looks like it could be really useful to know

get the XBMC Addon Developers Guide here:
http://code.google.com/p/xbmc-gpodder-in...loads/list

besides that, look at some of the other addons (as Martijn suggested)
and use google whenever you get stuck.
it's fairly easy to find a lot of good python examples on the interweb.
Do not PM or e-mail Team-Kodi members directly asking for support.
Always read the Forum rules, Kodi online-manual, FAQ, Help and Search the forum before posting.
Reply
#15
Could someone please help me out as where to put the button?

<onclick>PlayMedia($ESCINFO[Window.Property(SongToMusicVideo.Path)])</onclick>
<visible>!IsEmpty(Window.Property(SongToMusicVideo.Path))</visible>

I am at a loss as to why music videos and music are not more closely integrated, hopefully this will go some way to resolving that Smile

Thanks Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Displaying music video icon in song list0