2011-01-27, 14:35
Sometimes it would be helpful to get the current status uf XBMC, so that other programs can perform actions accordingly.
For instance, at this point of time there is no possiblity to start directly a slideshow everytime XBMC is playing music. A work around would be, that the user initiates the slideshow with a hotkey once the music is playing.
However, what also could be done as a workaround until this possiblity exists is that a program hits the specific hotkey as soon as XBMC plays music, and thereby starts the visualization.
Or, a program shuts down the computer if XBMC is idling too long.
Unfortunately, i have not found a way to determine what XBMC is doing, for instance a log-file with the following content:
"Playing Music:
The Beatles - Yellow Submarine (C:\Music\The Beatles - Yellow Submarine.mp3)"
or
"Playing Music:
Playlist Raggae"
or
"Playing Video:
Transformers (C:\Movies\Transformers.avi)"
Is there anything like this implemented/available in XBMC? If not, would you think this would make sense?
If you think it makes sense, but its not implemented yet, a logfile with the following structure could be realized.
; ------------
Video_list: ; label of videos that are currently playing
none
current_video ; the active video
none
current_music_status ; stopped / paused / playing (time elapsed / length of video)
stopped
current_video_playlist ; if the current video is played from a playlist
none
Music_list: ; the list of the music currently playing
Red Hot Chilli Pepers - Californication (C:\Music\Red Hot Chilli Pepers - Californication.mp3) ; Following the scheme "Title - Artist (Path)"
R.E.M. - Parakeet (C:\Music\R.E.M. - Parakeet.flacc)
current_music: ; the active music title
R.E.M. - Parakeet (C:\Music\R.E.M. - Parakeet.flacc)
current_music_status ; stopped/paused / playing (time elapsed / length of song)
playing (00:03:44 / 00:04:20)
current_music_playlist ; if the current music is played from a playlist
Testplaylist
Picture_list: ; same scheme as above
current_picture: ; same scheme as above
current_picture_playlist: ; same scheme as above
;----------------------
with this kind of information, one could do quite some useful things.... but already just the information "playing music" "paused" "playing video" would be very beneficial...
For instance, at this point of time there is no possiblity to start directly a slideshow everytime XBMC is playing music. A work around would be, that the user initiates the slideshow with a hotkey once the music is playing.
However, what also could be done as a workaround until this possiblity exists is that a program hits the specific hotkey as soon as XBMC plays music, and thereby starts the visualization.
Or, a program shuts down the computer if XBMC is idling too long.
Unfortunately, i have not found a way to determine what XBMC is doing, for instance a log-file with the following content:
"Playing Music:
The Beatles - Yellow Submarine (C:\Music\The Beatles - Yellow Submarine.mp3)"
or
"Playing Music:
Playlist Raggae"
or
"Playing Video:
Transformers (C:\Movies\Transformers.avi)"
Is there anything like this implemented/available in XBMC? If not, would you think this would make sense?
If you think it makes sense, but its not implemented yet, a logfile with the following structure could be realized.
; ------------
Video_list: ; label of videos that are currently playing
none
current_video ; the active video
none
current_music_status ; stopped / paused / playing (time elapsed / length of video)
stopped
current_video_playlist ; if the current video is played from a playlist
none
Music_list: ; the list of the music currently playing
Red Hot Chilli Pepers - Californication (C:\Music\Red Hot Chilli Pepers - Californication.mp3) ; Following the scheme "Title - Artist (Path)"
R.E.M. - Parakeet (C:\Music\R.E.M. - Parakeet.flacc)
current_music: ; the active music title
R.E.M. - Parakeet (C:\Music\R.E.M. - Parakeet.flacc)
current_music_status ; stopped/paused / playing (time elapsed / length of song)
playing (00:03:44 / 00:04:20)
current_music_playlist ; if the current music is played from a playlist
Testplaylist
Picture_list: ; same scheme as above
current_picture: ; same scheme as above
current_picture_playlist: ; same scheme as above
;----------------------
with this kind of information, one could do quite some useful things.... but already just the information "playing music" "paused" "playing video" would be very beneficial...