![]() |
|
|||||||
| 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 | |
|
Member
Join Date: Dec 2003
Posts: 39
![]() |
a variation on a script just released by alx5962 is to play a playlist
Quote:
|
|
|
|
|
|
|
#2 |
|
Member
Join Date: Feb 2004
Posts: 63
![]() |
it works! excellent! thank you for that!
i added a pls.shuffle() before the play line to have nice random songs on boot. i didn't know if that would work, or if the command existed, but it did lol. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2004
Posts: 3
![]() |
this is an awsome idea.... can you possibly post a link were i can download the script and how do i use it?
|
|
|
|
|
|
#4 | |
|
Fan
Join Date: Oct 2003
Location: Sweden
Posts: 467
![]() |
Quote:
download copy to your xbmc/scripts folder and in the menu settings/scripts select the script.
__________________
|
|
|
|
|
|
|
#5 | ||
|
Member
Join Date: Dec 2003
Posts: 39
![]() |
or you can create the files yourself.. they are normal textfiles but with a .py extension. they should be put in the scripts directory in xbmc's 'home' directory.
one file should be named autoexec.py and have the following code in it: Quote:
and have the following code in it: Quote:
|
||
|
|
|
|
|
#6 | |
|
Junior Member
Join Date: Mar 2004
Posts: 4
![]() |
hi, can someone help me out. i'm new to these python scripts.
i can't get the playlist to play.. i didn't quite understand " ## load non!? xbmc playlist into xbmc's playlist *m3u and pls work " i made the playlist with xbmc? wrong? then i edited the script in autoplay.py to: Quote:
i have a xbmc from 2004-04-13 i have also extracted the python.rar into the /python dir. and i've put the .py files in the /scrpits dir. thanx! |
|
|
|
|
|
|
#7 | ||
|
Member
Join Date: Dec 2003
Posts: 39
![]() |
zeba you should change it to the following:
Quote:
if you have more than 1 xbmc locations on your drive and want to access a playlist created with a different xbmc than where you are executing this script from use the following: Quote:
because slashes within strings are escape codes you have to put another one behind it |
||
|
|
|
|
|
#8 |
|
Junior Member
Join Date: Nov 2003
Posts: 5
![]() |
forkin sweet mayte!!!!
this is what i've wanted for about 3 months!! i asked around on forums (can't remember if i posted here or not) but didnt get anything helpful at all. this works pretty damn good, it's for my car mp3 player and, most of the time i can't be stuffed fiddling with the xbox remote to load up a song, i just want to turn on my car and xbox and go. i'm not sure if i will need to do this but.... does any1 know how to go about making it play a random playlist? right now i've got mine set to shuffle the big playlist of all my songs on the xbox b4 playing. but it mixes genre's too much i reckon, was thinking of making a few playlists for different genre's |
|
|
|
|
|
#9 | |||
|
Member
Join Date: Dec 2003
Posts: 39
![]() |
@spacefrog if i understand you correctly you have a collection of playlists and you want xbmc to pick a random playlist. do the following:
Quote:
Quote:
Quote:
|
|||
|
|
|
|
|
#10 |
|
Guest
Posts: n/a
|
sweeet!!!! i hear ya on this one spacefrog.. very happy to see this util!. do you have some pix of the setup in your car/truck? i'd be interested to see how your setup looks!
|
|
![]() |
| 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 |
| Startup Playlist | eggzenbeanz | Plugin/Script (Python) Help and Support | 1 | 2006-02-20 12:10 |
| Random Playlist at Startup | Omega Xi | Plugin/Script (Python) Help and Support | 2 | 2005-10-25 22:37 |
| Random Playlist at Startup | Omega Xi | XBMC for Xbox Specific Support | 1 | 2005-10-22 03:24 |
| Xbmc automatic copy playlist to q:\albums\playlist | gamepc | XBMC for Xbox Specific Support | 1 | 2005-06-13 17:11 |
| automatic startup actions | xsintill | XBMC for Xbox Specific Support | 5 | 2004-03-20 19:51 |