![]() |
|
|||||||
| Plugin/Script (Python) Development Developers forum for XBMC Python Plugins/Scripts. Scripters/coders only! Not for posting feature requests, bugs, or end-user support requests! |
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: Apr 2004
Posts: 7
![]() |
hi,
i use an xbmc version from the beginning of march 2004 (don't know exactly). there doesn't seem to be a way to get info on the current song xbmc is playing. @darkie: could you please add a method for this. best would be something like xbmc.player().currentitem() returning an object of class xbmc.playlistitem(). also xbmc.playlistitem().getduration() returns 0 in my version at least for mp3, haven't tried other things, has that been fixed? i have some knoweledge in embedding a python-interpreter in other applications exporting app-functions as python-modules, and i would do it my self but i don't have the means to compile xbmc. - stephan |
|
|
|
|
|
#2 |
|
Member
Join Date: Dec 2003
Posts: 39
![]() |
darkie while you are at it could it be possible to let scripts run whenever the user wants to shutdown xbmc just like scripts are run whenever xbmc starts up.
|
|
|
|
|
|
#3 | |
|
Team-XBMC Developer
Join Date: Sep 2003
Posts: 530
![]() |
Quote:
__________________
Always read the XBMC online-manual, FAQ and search the forum before posting. Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules. For troubleshooting and bug reporting please make sure you read this first.
|
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Mar 2004
Posts: 6
![]() |
i just had a great idea. we should make a python script that incorporates a web server so that we can put what song/movie is playing within our sig. that would rock.
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Apr 2004
Posts: 7
![]() |
@darkie, well, thats exactly what heppens. i load a playlist, get sime item on it, lets las pl[7], and getduration() returns 0.
|
|
|
|
|
|
#6 | |
|
Member
Join Date: Mar 2004
Posts: 74
![]() |
Quote:
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Music playlist: highlight current playing song | hanjinghui | XBMC Feature Suggestions | 2 | 2005-02-28 22:33 |
| Scrolling playlist follows current song | rupert | XBMC Feature Suggestions | 8 | 2004-12-25 20:57 |
| Current song display | pwinstanley | XBMC for Xbox Specific Support | 2 | 2004-04-25 08:38 |
| current song highlight in track list | Monty|aus | XBMC Feature Suggestions | 2 | 2004-03-13 17:07 |