Kodi Community Forum
Jukebox mode / Party mode (library playlist) - Printable Version

+- Kodi Community Forum (http://forum.kodi.tv)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Feature Suggestions (/forumdisplay.php?fid=9)
+--- Thread: Jukebox mode / Party mode (library playlist) (/showthread.php?tid=2396)

Pages: 1 2 3 4 5


Jukebox mode / Party mode (library playlist) - Stace - 2004-03-25 20:17

apologies, if this has already been requested (i couldn't find it)!!!

it would be great if there was a jukebox mode, that would autoplay random songs when playlists or albums had finished.

it could be configured using a specific criteria (genre, directory etc) and would just kick in when your playlist had finished. this would be great for parties, you would never have to worry about the music running out!! Big Grin [Image: cool.gif]

i used to use a software app on the pc called 'audiosoft ejukebox'. fantastic piece of software, where the idea comes from. have a look at http://www.audiosoft.net and see what you thinkConfused?

anyone else fancy this??
stace Big Grin


- Stace - 2004-03-30 20:47

there are quite a few people interested in the song/album info on a visualisation.

it would also be good, if the visualisation showed details on the 'next track' to play. that incorporated with the 'jukebox mode' mentioned above, would make this great app complete (for me at least!!! [Image: tounge.gif] )

stace Big Grin


- IndieRockSteve - 2004-03-30 22:03

i'd love a jukebox menu option
i'd love to be able to give it criteria to use in its random selection, like genre, share folder, playlist(s) etc. to customize the type of music it will play.

this would be awesome!


- vittorrio - 2004-04-29 11:11

i was just gonna ask for a 'random' feature!
glad i did a search first. not only would i like this feature to be implemented for music but also for video. i have many music videos, with the list growing rapidly as i rip music videos from my dvds, and would like for these to play randomly too.
as the original poster said to have it working but also, if possible, to have it randomly play files in folders in a heirarchy - if that's at all possible, or even makes sense?
also, have to say, the software is getting better with every release. keep up the good work guys - it's very appreciated!
vit


- Stace - 2004-05-06 23:14

your right, videos would be good too!!!


- kinghowdy0 - 2004-05-24 00:07

if i have a lot of ppl over or whatever, i load the top 100 list and put that on shuffle that way it only plays decent songs b/c the media library could be filled with a bunch of crappy wav files and stuff, that's just my substitute for lack of that feature. random videos would be cool for music videos


- turbo-donkey - 2006-01-14 22:47

i have worked with a few multi room systems, some of which have a party mode, which basically plays random music at the click of a button, i thought it would be cool to have a party mode or random button available on the toolbar on the left of the screen once inside the relevent bookmark, which would randomly play music from all of my albums?


- BigBellyBilly - 2006-01-15 01:55

i definitly second that and if possible, make use of a bpm change limiter/slider, just like in winamp.


- wtz - 2006-01-16 10:40

if you just want to be able to play random music from your whole library you could just add your music share to a playlist and play it with random.


- turbo-donkey - 2006-01-17 01:38

(wtz @ jan. 16 2006,08:40 Wrote:if you just want to be able to play random music from your whole library you could just add your music share to a playlist and play it with random.
that means having to maintain a playlist for an ever growing library, what i am interested in is one button, that randomly plays everything in that bookmark, without having to make and maintain a huge playlist.


- kraqh3d - 2006-01-17 02:32

actually you dont have to maintain anything...
1) scan your music
2) go to library, then songs
3) use "queue" on "all songs" item at the top
4) switch to now playing window, enable randomize


- wtz - 2006-01-17 10:16

(kraqh3d @ jan. 17 2006,00:32 Wrote:actually you dont have to maintain anything...
1) scan your music
2) go to library, then songs
3) use "queue" on "all songs" item at the top
4) switch to now playing window, enable randomize
exactly... sure it takes a couple of seconds if you have a 10gb mp3 share, but it works like a charm...


- MnC_ - 2006-01-18 15:30

hi,

maybe these python scripts will help .. turn on xbox and play all music on xbox at random:
-create file autoexec.py and dump it in your script dir
-create <dir> autoexec
-create file startup_playlist.py and dump it in autoexec <dir>

begin autoexec.py
-----------
# auto execute scripts when xbmc starts, place this file in xbmchome\scripts\
#
# note: - do not execute more than one script at a time which asks for user input!

# import xbmc

xbmc.executescript('q:\\scripts\\autoexec\\startup_playlist.py')
-----------
end autoexec.py

begin startup_playlist.py
-----------
''' vim: ts=8 sw=4 noexpandtab
author: rune hammersland
version: 0.3

xbox media center comes with a script to play an mp3 file at startup
(startupmp3). this script will load a playlist if it exists, and if not,
traverse a directory and load all relevant music files. it is intended as a
replacement for startupmp3, and enables you to listen to a playlist, or all
music files in a given directory.

changelog:
2005-05-27 13:10:33 - rune hammersland:
* added possibility for multiple playlists.
* added possibility for multiple music dirs.

'''

import xbmc
import os

# ---------------------------------------- #
# "configuration"
# ---------------------------------------- #

# change this to your playlist(s).
# written like this: ['path\\to\\plist1', 'to\\plist2', 'plist\\3']
playlist_files= ['']
#['e:\\tdata\\0face008\\albums\\playlists\\all.m3u']
# dirs(s) to traverse if playlist does not exist. nb: no trailing slash.
# written like this: ['path\\to\\dir1', 'to\\dir2', 'dir\\3']
music_dirs = ['f:\\music']
# shuffle playlist if this var equals 1.
shuffle_files = 1


# ---------------------------------------- #
# code
# ---------------------------------------- #

# function for adding files to playlist
def add_files(pl, dirname, names):
for filename in names:
if (os.path.isfile(dirname + "\\" + filename)):
add = 0

# check extension of file.
if (filename[-4:] == ".mp3"): add = 1
if (filename[-4:] == ".ogg"): add = 1
if (filename[-4:] == ".wav"): add = 1
if (filename[-5:] == ".flac"): add = 1

# if file is to be added, do it.
if (add == 1): pl.add(dirname + "\\" + filename)
elif (os.path.isdir(dirname + "\\" + filename)):
os.path.walk(dirname + "\\" + filename, add_files, pl)

# get music playlist from xbmc
plist = xbmc.playlist(0)
plist.clear()

# load playlist if it exists
for playlist_file in playlist_files:
if (os.path.isfile(playlist_file)):
plist.load(playlist_file)
# else, find all available music
else:
for music_dir in music_dirs:
os.path.walk(music_dir, add_files, plist)

# do the shuffle!
if (shuffle_files == 1): plist.shuffle()

xbmc.player().play(plist)
------------------
end startup_playlist.py



worx like a charm for me .. hope it helps ya out .. and erm .. what button ..hehe ..

sincerely mnc!


- ClearSong - 2006-01-25 18:52

actually you dont have to maintain anything...
1) scan your music
2) go to library, then songs
3) use "queue" on "all songs" item at the top
4) switch to now playing window, enable randomize

so....can this approach be used to randomly play songs in a specific genre....or artist?? say you want to randomly play songs from the "chanson" genre.

john


- C-Quel - 2006-01-25 18:54

goto library then artist and queue or library and genre then queue...