2007-06-08, 00:54
I would like to make my own custom script to play karaoke CD+G files in XMBC. This functionality is already present in XBMC, of course, and looks quite nice. However, the input methods leave something to be desired. So I want to make my own script that inputs via PC keyboard.
Here is how I imagine the input would work. I have a large list of track IDs corresponding to songs, i.e. "VAN1006-03 Van Halen - Jump". I would take in just the track ID ("VAN1006-03") and find the file automatically in my script using directories named after the first part of the ID (e.g. "VAN1006") and locating the filename itself using the second part of the ID ("03").
My difficulty is in knowing how to interface properly with the karaoke portion of XBMC. Ideally I would like to have a small translucent window overlaying the visualization in the upper right, displaying the current song and perhaps two songs before and after that song in the current playlist. You could delete songs by moving up and down this playlist and hitting a certain key. and you should be able to add songs by typing the track ID in a small text box above these items, which, after entering in the code, would show the filename and confirm.
What is the best way to put in this functionality? My initial guess is to use a Python script but I am very new to all this and my guess could certainly be quite wrong. I am comfortable with coding in many languages and on many platforms, so I don't mind hacking the main code if I have to but would like to stay away from that for convenience's sake otherwise. Thanks for any help you can give me.
Here is how I imagine the input would work. I have a large list of track IDs corresponding to songs, i.e. "VAN1006-03 Van Halen - Jump". I would take in just the track ID ("VAN1006-03") and find the file automatically in my script using directories named after the first part of the ID (e.g. "VAN1006") and locating the filename itself using the second part of the ID ("03").
My difficulty is in knowing how to interface properly with the karaoke portion of XBMC. Ideally I would like to have a small translucent window overlaying the visualization in the upper right, displaying the current song and perhaps two songs before and after that song in the current playlist. You could delete songs by moving up and down this playlist and hitting a certain key. and you should be able to add songs by typing the track ID in a small text box above these items, which, after entering in the code, would show the filename and confirm.
What is the best way to put in this functionality? My initial guess is to use a Python script but I am very new to all this and my guess could certainly be quite wrong. I am comfortable with coding in many languages and on many platforms, so I don't mind hacking the main code if I have to but would like to stay away from that for convenience's sake otherwise. Thanks for any help you can give me.