Shiny New E-Book Gizmo: The Amazon Kindle


View Full Version : jukebox [player of mp3, ogg, mpc, mikmod, wav, flac files]


yokos
03-06-2008, 10:42 AM
[EDIT 04/30/2008] If you wanna update the database you should use the entry "Update Database, & Start Playback" in "Contentlister based Control of mpd". You should run it twice to avoid the odds when one execution is not enough. [Still unknown to me, when this is exactly the case.]
More information here (http://www.mobileread.com/forums/showpost.php?p=176096&postcount=14).
[EDIT 04/25/2008] Jukebox 3.1.1 is out. Point "fixed missing icons in gimmix" in 3.1 changelog was not working. So v3.1.1 is a mini-patch.

[EDIT 03/06/2008] Jukebox 3.1 is out. :D
jukebox 3.1 changelog:
# latest versions: mpd 0.13.1 (http://www.musicpd.org/), gimmix 0.4.3 (http://gimmix.berlios.de/)
# tweaking gimmix.glade:
- fixed missing icons in gimmix
- small compact mode by disabling artist/title label, moving information/playlist button.
# fixed "updating mpd database doesn’t remove obsolete playlists"
# loading different gimmix glade files
# support of mikmod files is included again
# support of JACK servers

supported formats are:
mp3, ogg vorbis, mpc, mikmod (http://mikmod.raphnet.net/), wav, flac, JACK server [I compiled it, but I haven't used it yet]

These are mikmod formats:
669 (Composer 669, Unis 669), AMF (DSMI Advanced Module Format), AMF (ASYLUM Music Format V1.0), APUN (APlayer), DSM (DSIK internal format), FAR (Farandole Composer), GDM (General DigiMusic), IT (Impulse Tracker), IMF (Imago Orpheus), MOD (15 and 31 instruments), MED (OctaMED), MTM (MultiTracker Module editor), OKT (Amiga Oktalyzer), S3M (Scream Tracker 3), STM (Scream Tracker), STX (Scream Tracker Music Interface Kit), ULT (UltraTracker), UNI (MikMod), XM (FastTracker 2)
You can find such files for instance here (http://www.modarchive.com/). Two samples are included in the zip file.


older, now obsolete jukebox threads:
Contentlister Based Music Player w/ Playlist support (http://www.mobileread.com/forums/showthread.php?t=10288)
Information about coming Music Jukebox 3.0 (http://www.mobileread.com/forums/showthread.php?t=14142)

A readme pdf file is included in attachment.

screenshots:
#1 gimmix in compact mode, with opened information window [for viewing file tags]
#2 gimmix in non-compact mode with current playlist [trivia: William Shatner's counterpart in the Star Trek parallel universe is captain Kirk .]

yokos
04-13-2008, 11:24 AM
I installed my jukebox today on a fresh CF card & got a shock: "fixed missing icons in gimmix" [one point in 3.1 changelog ] is not fixed.
Well, it was fixed on another CF card, but not in the installation package. The installation copied the needed icons into the wrong path _local/share/gimmix/pixmaps instead of correct _local/share/pixmaps.

More than 100 users have downloaded/(maybe - who knows) installed jukebox, but nobody reported this bug. :poke: Nobody was amazed about the fact that the icons [volume, information ... buttons] in the screenshots above are missing in your installation? Please report bugs.

v3.1.1 will follow.

carandol
04-15-2008, 11:03 AM
@yokos

Here's me being a good bug reporter! :) I've just installed 3.1 on my CF card. After it was installed, I got a message saying I should run it from the Programs directory in the root of Main Memory, when in fact it's in the Programs directory of CF. It confused me for a while!

Now it's working fine, thanks!

yokos
04-16-2008, 06:30 AM
@yokos

Here's me being a good bug reporter! :) I've just installed 3.1 on my CF card. After it was installed, I got a message saying I should run it from the Programs directory in the root of Main Memory, when in fact it's in the Programs directory of CF. It confused me for a while!

Now it's working fine, thanks!
Thx carandol.
I can't see there any "root of main memory" in message in Contentlister. :p:)
Run/uninstall app from "programs" [root of memory].
Click on me to get the installation entry back.
It's just the standard manifest file which I use for all my ports.
If I rembember correctly Run/uninstall app from "programs" [root of choosen memory]. will not fit in 1st line.
Editing this manifest with a shell script so the user get's something like "Start program here: CF/Programs/xxx" would be an option. :bulb2:

Kiba
04-23-2008, 03:20 AM
Thanks you for our software, very nice.

I'm a question, sorry if I'm not in the good section. Is it possible to run the jukebox by clicking on a mp3 file ? How ?

Thanks !

yokos
04-23-2008, 12:51 PM
Thanks you for our software, very nice.

I'm a question, sorry if I'm not in the good section. Is it possible to run the jukebox by clicking on a mp3 file ? How ?

Thanks !
If you want this: a registration for Contentlister is needed, so that the filetype mp3 is connented to an app [like a pdf file starts app ipdf].

The command line player madplay [or so, I have seen it here somewhere] could be connected to mp3 file type.

mpd [music player daemon] uses a database. Clients like mpc/gimmix search in databse and start playback.

yokos
04-25-2008, 07:10 AM
v.3.1.1 is out. It's just a mini-patch [missing icons bug]. Sorry for the delay.

Dabon
04-25-2008, 11:24 AM
Dear yokos,
Thank you very much for the new version 3.1.1. Jukebox, even if I was one of the millions(?!?), who had downloaded version 3.1 jukebox, and did not not report to you the bug. As far as I am concerned, I had no idea how the final application should look, so I was pretty impressed and satisfied with what I had, being able to listen to mp3 on my iliad ...I was like WHOOOAAA!!
Anyway, thank you again, and I would also like to ask if you don't mind what should be the best steps to remove the prior version 3.1 jukebox (my best guess is that we should remove this aplplication) before installing the new version.
Is the "Uninstall Music Jukebox 3.0" under Programs/Uninstall take care of everything even the mp3 folder on the CF root??

Thanks a million in advance for your help!!

D.

Dabon
04-25-2008, 04:08 PM
Never mind, Yokos! I was finally able to figure it out myself!! Great program indeed! I realized now that this new version is more stable than the previous one...

Thanks,

D.

yokos
04-26-2008, 11:12 AM
[...]
Anyway, thank you again, and I would also like to ask if you don't mind what should be the best steps to remove the prior version 3.1 jukebox (my best guess is that we should remove this aplplication) before installing the new version.
Is the "Uninstall Music Jukebox 3.0" under Programs/Uninstall take care of everything even the mp3 folder on the CF root??
[...]
In general it's a good idea to deinstall the old version first. This reduces side effects.
No, the mp3 folder is safe. Deinstalllation doensn't touch this.

firekat
04-28-2008, 08:07 PM
I have worked on getting the player up and working. One problem that I am having is adding music. I have a lot of trouble getting the newly added files recognized by either of the players. Even after I try getting all the options. I added some mp3's and I had to reinstall the player for the system to see them. I have added some mod files and in the mikmod folder and I cannot see any of them. Right now I have the Gimmix interface "updating library". It seems to have hung as the busy led is not on and it has been sitting for a while.

Your assistance is greatly appreciated.

yokos
04-29-2008, 07:45 AM
I have worked on getting the player up and working. One problem that I am having is adding music. I have a lot of trouble getting the newly added files recognized by either of the players. Even after I try getting all the options. I added some mp3's and I had to reinstall the player for the system to see them. I have added some mod files and in the mikmod folder and I cannot see any of them. Right now I have the Gimmix interface "updating library". It seems to have hung as the busy led is not on and it has been sitting for a while.

Your assistance is greatly appreciated.
Thanks firekat, this is a good point, which I forgot to put in the readme. :rolleyes: Sorry.
You should use only "Update Database, & Start Playback" [top 2nd entry] in the "Contentlister based Control of mpd" to update the mpd database after adding/removing files.
The shell scripts behind the "contentlister based control" do all the stuff of creation of playlists (all songs; sorted by album, artist, date, genre), which gimmix can see.

1st run of gimmix after installation & next runs after this differ.
1st run= starting shell script "Update Database, & Start Playback", which loads mpd, creates DB, loads All-Songs-Playlist, starts plackback; then gimmix starts.
from 2nd run= starting shell script "Continue Playback", which starts mpd with last status of playback (db, playlists, position in last listened track [useful for audio books]); then gimmix starts.
Hey firekat, this is the reason why reinstalling jukebox fixed "missing songs" problem: 1st run of gimmix after installation created new db.

[EDIT] It's no big deal to rename/create entries:
# "Start gimmix in Continue Playback mode"
# "Update DB [after removing/adding files], then start gimmix".
Would this solve the confusion?

firekat
04-29-2008, 01:38 PM
Yokos,

Sorry if I am a bit thick, but I just cannot not get it to update the files. Please give me a step by step - even if it includes re-installing.

The problem is that YOU let me discover mod files ( and their variants). There's lots of stuff out there that's free & the only player other than the pc/laptop is the iLiad - so this is all your fault! (ha, ha)

Thanks for your help!

yokos
04-30-2008, 10:03 AM
Yokos,

Sorry if I am a bit thick, but I just cannot not get it to update the files. Please give me a step by step - even if it includes re-installing.

The problem is that YOU let me discover mod files ( and their variants). There's lots of stuff out there that's free & the only player other than the pc/laptop is the iLiad - so this is all your fault! (ha, ha)

Thanks for your help!
You are making me crazy. (ha, ha back to you) :p

updating database:
[1] put all files in dir "mp3" in the root of choosen memory
[2] click on "Update Database, & Start Playback.png" in "Contentlister based Control of mpd" in Programs/jukebox.* Please run it a 2nd time.
[3] start gimmix, which loads updated "All-Songs" Playlist.

I just tested it with a fresh mp3 dir. I found out:
I had to run "Update Database, & Start Playback.png" twice before 1 added mikmod file got recognized. This is odd.
Then I moved subdirs, added mp3 files. Again: a 2nd run was needed to get an up-to-date All-songs Playlist. Uhh, this is a real bug. To sum up: Run it twice in general to make sure everything is ok.

The mikmod files I have seen so far have only the Tag Title, therefore they are only inlcluded in the All-Songs Playlist, not in any of the Artis/Album/Genre Playlists in gimmix playlist manager. *
The playing time of mikmod files is listed as 0s. :p

I hope it helps this time.

screenshots:
* entry "Update Database, & Start Playback.png" in "Contentlister based Control of mpd".
* gimmix' playlist manager

firekat
05-02-2008, 10:23 AM
Thanks for the info yokos. I at first (prior to your last post) tried reinstalling the program including all the new files in the mp3 folder. That did not work, and the iLiad just would never stop "working" the busy led would blink continuously.

Right now I am out on the road. I don't have a CF card reader with me (and I am too cheap to want to buy one -at least for the moment) and it will be a bit of time before I will give this a try again.

Basically what I will do is reload your original programs sans the additional sound files and then follow your directions explicitly.

One other question, will the mpd be able to play .s3m & .it files?

Thanx!

yokos
05-02-2008, 12:34 PM
Hey firekat, so you used iLiad main memory all the time?

I will fix shell scripts to delete the old database before mpc gets the order to update database. Then 1 time running of "update database script" is enough.

You can use iLiad as a CF card reader. It's in the iLiad settings which memory get's mounted when you connect iLiad with travel hub/usb cable.


One other question, will the mpd be able to play .s3m & .it files?
Of course. See mikmod formats list in #1.

firekat
05-03-2008, 06:27 PM
No, I wrote all the files to the CF card on my home computer. Don't use the internal memory for much of anything except for a few files which the iLiad came with. While I am out and about I only have my laptop which is equipped with an SD slot which is convenient for loading other iLiad content. I will give the travel hub USB connection and reading CF card a shot when I get the chance.

Thanx!

haridasi
05-26-2008, 03:25 PM
This is... well.. time consuming to figuring out. There isnīt really any installation manual lying around which explains everything, how to install mpd, gimmix and this jukebox. Itīs certainly not for the average user out there.

Just to install mpd I have to get a c compiler in there. Is that part of the developer package, may be?

yokos
05-27-2008, 09:44 AM
This is... well.. time consuming to figuring out. There isnīt really any installation manual lying around which explains everything, how to install mpd, gimmix and this jukebox. Itīs certainly not for the average user out there.

Do you have read the Readme, which is included in the zip file?

haridasi
05-30-2008, 12:54 PM
Do you have read the Readme, which is included in the zip file?

Yep. Do I have to install mpd first and do some "magic"?

I get this:
ERROR: Gimmix couldnīt connect to mpd. Check whether mpd is running. Also check that you have specified the proper hostname, port and password in tilde/.gimmix

Update: I turned iliad off for the night. Woke up, started the iliad, and suddenly gimmix worked.. And yes, I had tried to restart iliad before. Case solved anyhow now :-)

yokos
05-31-2008, 07:27 AM
Update: I turned iliad off for the night. Woke up, started the iliad, and suddenly gimmix worked.. And yes, I had tried to restart iliad before. Case solved anyhow now :-)
Oh, fine.
I just wanted you to check the mpd configuration whether the paths are set correct inside.

yokos
06-05-2008, 05:47 AM
Is there anybody out there who wants to listen to internet radio on iLiad?
If yes, it will be included in next version.


ENJOYSTATION.NET France Vichy! Paris, Canada, America, Italia, England, Deutschland, French: Paramore - Hallelujah
[playing] #15/17 1:07/0:00 (100%)
volume: 65% repeat: on random: off


http://shoutcast.com/directory/ If you wanna watch for one [mp3 streaming].

perkata
06-05-2008, 06:18 AM
Yokos:

Thanks very much for the player. And, yes, I'd love to be able to listen to Internet radio on the iLiad.

yokos
06-05-2008, 09:57 AM
Yokos:

Thanks very much for the player. And, yes, I'd love to be able to listen to Internet radio on the iLiad.
Amount of 2 [you and me] is critical mass. ;-)
It's quite cool to have it. A new toy.

The best way is to use iliad-regutils to get a clickable pls/m3u file-type in contentlister, so users can download 1k radio stations & can switch easily. Right now I load them in shell.

Ogg vorbis stream works of course, too.
Like these here:
icecast streaming directory -- streams & radios: http://dir.xiph.org/index.php

loading of radio station. ./pls-handler.sh name_of_radiostation.pls:

adding: http://64.62.194.11:8045
adding: http://64.71.144.179:8045
adding: http://72.13.81.178:8045
adding: http://38.99.68.236:8045
adding: http://38.99.107.34:8045
adding: http://66.220.3.52:8045
http://64.62.194.11:8045
[playing] #1/6 0:00/0:00 (100%)
volume: 65% repeat: on random: off


#screenshot: playback of a classical music radio station

daudi
06-11-2008, 01:37 AM
Hi yokos,

I finally got around to trying this, and it is amazing! You also did a great job with the documentation. You have called it a "readme" and I was expecting a simple text file, but you have created a nicely formatted PDF. Very nice work.

The reason I finally got around to installing this is that I am also interested in using it to listen to internet radio. Specifically I have installed squeezecenter (http://wiki.slimdevices.com/index.php/SqueezeCenter) and now stream music to a couple of PCs at home (and to my machine at work). I am going to buy at least one squeezebox (http://www.slimdevices.com/pi_squeezebox.html) (eventually) to connect to my music system, but I am also looking for something to use while I wander around the house and I think the iliad, combined with what you have done here, will do it. I'm also going to try out connecting to the squeezecenter using a browser on the iliad to see if it can be used to control the music server.

So, I am very interested in having a way to listen to internet radio on the iliad. All I need to do is play http://192.168.0.2:9000/stream.mp3 Is that easy to do?

Thanks again for a great piece of work!

yokos
06-11-2008, 02:19 AM
Thanks daudi for the kind words.
The "Readme" of next version will be 12+ pages long [rewritten, more screenshots, references to libraries etc.]. ;-) Internet radio section isn't written yet. ;-)

So, I am very interested in having a way to listen to internet radio on the iliad. All I need to do is play http://192.168.0.2:9000/stream.mp3 Is that easy to do?

Yepp, this way it goes. ;-) Playlists are clickable in Contentlister, see screenshot.

2 samples of playlists:
dkultur_hq_ogg.m3u:

http://dradio-ogg.t-bn.de/dkultur_high.ogg

1.FM_Ottos_Baroque_Musick.pls:

[playlist]
numberofentries=6
File1=http://64.62.194.11:8045
Title1=(#1 - 82/300) 1.FM - Otto's Baroque Musick
Length1=-1
File2=http://64.71.144.179:8045
Title2=(#2 - 197/700) 1.FM - Otto's Baroque Musick
Length2=-1
File3=http://72.13.81.178:8045
Title3=(#3 - 284/1000) 1.FM - Otto's Baroque Musick
Length3=-1
File4=http://38.99.68.236:8045
Title4=(#4 - 143/500) 1.FM - Otto's Baroque Musick
Length4=-1
File5=http://38.99.107.34:8045
Title5=(#5 - 15/20) 1.FM - Otto's Baroque Musick
Length5=-1
File6=http://66.220.3.52:8045
Title6=(#6 - 298/300) 1.FM - Otto's Baroque Musick
Length6=-1
Version=2


#screenshot: internet radio stations are clickable in Contentlister

daudi
06-11-2008, 04:13 PM
Thanks for this. Very cool. I can now listen to my entire music and podcast collection plus internet radios anywhere in the house using the iliad (and in principle from anywhere else with an internet connection if I set ssh up for this or forward connections to port 9000). After making the wireless connection all that is needed is:
mpc clear
mpc add http://192.168.11.2:9000/stream.mp3
mpc play
I have not yet tried using the browser to control the squeezebox yet, but this is working nicely so far. I am starting to think about getting some powered speakers for this, making a stand for the iliad and speakers and maybe downloading and displaying album covers on the iliad. Don't hold your breath though ...
BTW, would you mind sharing the regutils invocation for getting playlists to run from the contentlister?

yokos
06-11-2008, 05:05 PM
Heh, daudi. Streaming internet radio with jukebox 3.1.1 is possible?
Uhh, nice information; I just thought libshout [not included in 3.1.1] is needed for streaming in general; my fault.

"Better"/more complex mpd clients have built-in cover support.

"internet radio pls m3u playlists in CL" installation script is attached.

[EDIT:] updated attached scripts:
v0.2
# removed "no spaces in spaces in playlist's file name allowed" bug
# added deinstallation script

BinaryDigitz
07-31-2008, 08:45 AM
Hi....Having just installed JukeBox 311, I ran gimmix, then "Contentlister based Control of mpd". This caused an error...something about the .gimmixrc file (can't remember). I tried again today and all programs work. I can see one of the two MP3's I added.

My question is....How do I get the MP3 to play. I read the doc's and ran gimmix, but cannot seem to get the MP3 to run.
Someone please help.

BinaryDigitz
08-03-2008, 06:44 AM
Hi All,
Just thought I would tell you I soved the issue.
It would appear my Iliad shipped with the sound turned off. :smack:

Although I do have another question.
I want to play the MP3 file output through a sound system in my gymnastics gym...for a womans floor routine.

The output is very low.

Is there any way of increasing the volume?

CleverClothe
08-04-2008, 09:27 PM
Get external speakers.

daudi
08-05-2008, 04:28 AM
Get external speakers.
E.g. audioengine 2 (http://www.advancedmp3players.co.uk/shop/Speakers.16/Audioengine.311/AUDIOENGINE2/Audioengine_2_Speaker_System.3131.html) powered speakers. I've recently bought some and they are quite something. And if you have more money, apparently the audioengine 5s are awesome.

Then if you want to do something really mind-blowing, install squeezcenter (http://www.slimdevices.com/su_downloads.html) on your PC (windows/linux/mac) and use it to stream your entire music collection over wifi (or cables) to your iliad, blasting it out through the audioengine speakers.

yokos
08-05-2008, 05:12 AM
Hey BinaryDigitz,
you can tweak 2 volumes.
[1] I have set the default volume of mpd to 65%.
Please use "Contentlister based Control of mpd"/"Volume Control" in jukebox dir to set volume.
The volume button in gimmix is a bit buggy.

[2] The volume of iLiad's sound card is set to 75 percent. It's saved in /mnt/settings/registry/registry.xml.
You can change the value after installing iliad-regutils (http://www.mobileread.com/forums/showthread.php?t=23668).
regutil /iLiadRegistry/userSetting/sound/volume --set 100
Only use it when you know what you do.

Im sorry for not-releasing-a-new-version-for-a-long-time. :( I'm right busy right now. I wanted to have the aac support in....

BinaryDigitz
08-10-2008, 05:43 AM
Hi yokos,
Yeah, I found the mpd volume.
I think the one causing me grief is the volume of iLiad's sound card.

I plug it into our gym sound system, and crank up the volume, but find it is not loud enough.

I will try the volume of iLiad's sound card to 100%.

25% louder should be just what I'm looking for.

Cheers
BinaryDigitz