Hello everybody,
I was playing a bit with XBMC python API and I've made my first plugin. It basically lists an xml file (containing online radio information) and it plays every link.
I have a small issue with it: After I load the item list, xbmc retrieves all the media information about the files I've listed. Is there any possibility to avoid this ? Considering that we are talking about online radio streams, this is a bit slow.
All the best,
O.
Need Help: Online Radio add-on ...
DancingFlames
Junior Member Joined: Apr 2012 Reputation: 0 Location: France |
2012-04-09 15:08
Post: #1
|
| find quote |
Bstrdsmkr
Fan Posts: 648 Joined: Oct 2010 Reputation: 12 |
2012-04-10 00:04
Post: #2
Not quite understanding what you mean by "xbmc retrieves all the media information about the files I've listed"
Are you talking about where it tries to determine the file type and etc? (Shows up in the log as Creating Demuxer)
(This post was last modified: 2012-04-10 00:05 by Bstrdsmkr.)
|
| find quote |
sphere
Posting Freak Joined: Jul 2009 Reputation: 33 Location: Germany |
2012-04-10 07:24
Post: #3
(2012-04-09 15:08)DancingFlames Wrote: Hello everybody, XBMC tries to get the mime-type of every listitem's url you provide. You have two choices: 1. Do something like: Code: listitem.setProperty('mimetype', 'video/x-msvideo')2. [Trick] Faster listing of items regards, sphere My GitHub. My Addons: HD-Trailers.net | Shoutcast 2 | Apple Itunes Podcasts | Radio | MyVideo.de | Nasa | The Big Pictures | Collegehumor | WhatTheMovie | 4Players | Wimp.com | HWClips.com | TheHollywoodReporter | XBMC Log Uploader | Rofl.to | MyZen.tv | Dump.com | Disclose.tv | Dokumonster.de | Netzkino.de |
| find quote |
DancingFlames
Junior Member Joined: Apr 2012 Reputation: 0 Location: France |
2012-04-10 10:42
Post: #4
Sphere, this is exactly what I wanted to do. Thanks a lot.
It seems that I need to improve my forum search skills, rather than my programming ones
|
| find quote |
Martijn
Team-XBMC Joined: Jul 2011 Reputation: 114 Location: Dawn of time |
2012-04-10 11:15
Post: #5
Need a better way of documenting these things in the wiki instead of on the forum
Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules. For troubleshooting and bug reporting, make sure you read this first For your mediacenter artwork go to ![]() |
| find quote |
DancingFlames
Junior Member Joined: Apr 2012 Reputation: 0 Location: France |
2012-04-10 11:21
Post: #6
You should open the wiki for edit or add more members with edit rights ...
I know it could get messy (I had a bad experience already with my students), but it is the only way to survive and be up to date ... |
| find quote |
sphere
Posting Freak Joined: Jul 2009 Reputation: 33 Location: Germany |
2012-04-10 11:35
Post: #7
(2012-04-10 11:21)DancingFlames Wrote: You should open the wiki for edit or add more members with edit rights ... Correct me if I'm wrong but the wiki is open for edits of registered users - and registration is open. My GitHub. My Addons: HD-Trailers.net | Shoutcast 2 | Apple Itunes Podcasts | Radio | MyVideo.de | Nasa | The Big Pictures | Collegehumor | WhatTheMovie | 4Players | Wimp.com | HWClips.com | TheHollywoodReporter | XBMC Log Uploader | Rofl.to | MyZen.tv | Dump.com | Disclose.tv | Dokumonster.de | Netzkino.de |
| find quote |
DancingFlames
Junior Member Joined: Apr 2012 Reputation: 0 Location: France |
2012-04-10 11:40
Post: #8
(2012-04-10 11:35)sphere Wrote: Correct me if I'm wrong but the wiki is open for edits of registered users - and registration is open. I didn't knew that ... and I was making the assumption based on the fact that there were some people on the forum asking others to post on wiki |
| find quote |
Martijn
Team-XBMC Joined: Jul 2011 Reputation: 114 Location: Dawn of time |
2012-04-10 11:46
Post: #9
(2012-04-10 11:40)DancingFlames Wrote:(2012-04-10 11:35)sphere Wrote: Correct me if I'm wrong but the wiki is open for edits of registered users - and registration is open. Some pages are locked for some reason. Normally you can just register on the wiki page and start editing. On the front page of the wiki is a link to the help page which lists some nice plugin for editing. Currently the add-on/plugin section is a bit of a mess. In time will get cleaned up and re-organized. Always read the XBMC online-manual, FAQ and search the forums before posting. Do NOT e-mail Team-XBMC members asking for support. Read/follow the forum rules. For troubleshooting and bug reporting, make sure you read this first For your mediacenter artwork go to ![]() |
| find quote |

![[Image: fanarttv.png]](http://trakt.us/images/thanks/fanarttv.png)
Search
Help