Looking to create an addon with youtube links

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
boognish43 Offline
Senior Member
Posts: 170
Joined: Sep 2010
Reputation: 0
Post: #1
I hope im posting this in the right place. I have been creating a spreadsheet of legal live full length concert videos that are on youtube Google spreadsheet

What I want to do next is create a plugin/addon that has all of these listed. What would be the simplest way to do this? I have made plugins for boxee before which was pretty straigh forward but havent made anything for xbmc. What i want is main folders with the band and sub folders to include the links

Heres my structure vision:

Band Folder
Date of show folder
Youtube links( I need the links to be text and not the full youtube link i.e. Set 1)

Can someone give me a push in the right direction? I want it to be easily updateable so i was thinking maybe setting up a website that gets scraped by an addon? Not really sure where to start Smile

Thanks in advance for any help!
find quote
Beenje Offline
Team-XBMC Developer
Posts: 299
Joined: Feb 2009
Reputation: 3
Location: Sweden
Post: #2
Look at existing addons.
To play youtube links, you can use the existing youtube add-on.

I'd recommend you looking at the plugin.video.khanacademy add-on.
1. It uses script.module.xbmcswift which makes it quite easy to create a new add-on.
2. It uses the plugin.video.youtube for youtube video

xbmc.log: /Users/<username>/Library/Logs/xbmc.log
Always read the XBMC online-manual, FAQ and search the forum before posting.
For troubleshooting and bug reporting please make sure you read this first.
find quote
pakee Offline
Senior Member
Posts: 222
Joined: Jan 2012
Reputation: 4
Post: #3
Another option is to use Livestreams or Navi-x plugin and just put all the links in an online xml file (e.g. on code.google.com) which you can maintain. Each entry would look like:

<item>
<title>show name</title>
<link>plugin://plugin.video.youtube/?action=play_video&amp;videoid=xxxxx</link>
<thumbnail>http://somurl.jpg</thumbnail>
</item>

livestreams supports separating each item into channels/subchannels with categories
http://forum.xbmc.org/showthread.php?tid=97116

also if you later find concert videos on other websites like justin/veetle/freedocast, you can add them the same way
find quote
boognish43 Offline
Senior Member
Posts: 170
Joined: Sep 2010
Reputation: 0
Post: #4
Thanks for the push guys! I have been playing around with an xml in livestreams and will look at the khanacademy plugin
thanks again!
find quote
Mazeusa Offline
Junior Member
Posts: 2
Joined: May 2012
Reputation: 0
Post: #5
I was looking for an answer for same issue for long time... would like to create an xml file for livestreams add-on containing youtube links, in my case I am looking into youtube live links.

I did try pakee's suggestion (Many Thanks):

<item>
<title>show name</title>
<link>plugin://plugin.video.youtube/?action=play_video&amp;videoid=xxxxx</link>
<thumbnail>http://somurl.jpg</thumbnail>
</item>

but for some reason it is just not working for me. could be an issue in determining the videoid part, or I am just missing something, here is an example of a link I am looking for: http://www.youtube.com/watch?v=VPoIG7O8EEQ

I used VPoIG7O8EEQ as my videoid did not work, I also tried other methods with full link, embeded link and shared link. none worked. I have other links in livestreams and they work fine; just the youtube link does not. I also have the youtube add-on which runs the link fine.

I am using xbmcbuntu eden and I also tried on xbmc windows7...

Any ideas?
find quote
divingmule Offline
Skilled Python Coder
Posts: 1,297
Joined: Oct 2008
Reputation: 61
Post: #6
You may need a more recent version of LiveStreams add-on. The latest is 1.0.4 -> http://divingmules-repo.googlecode.com/f...-1.0.4.zip
find quote
Mazeusa Offline
Junior Member
Posts: 2
Joined: May 2012
Reputation: 0
Post: #7
Fantastic.... The recent version of lifestreams resolved my issue and made youtube links works perfectly. Many Thanks divingmule; you made my day Smile
find quote