User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Thu Feb 01, 2018 11:38 pm

ajMatus wrote:
Thu Feb 01, 2018 11:31 pm
Hey Mike,

Just a thought, is there anyway this could be implemented for future releases? Having an enermous library takes a toll on searching as stated by others, while the skip by 20 pages etc is good. Could there be a button that skips to artists in alphabetical order? For instance if I press the button it would take me to the first instance of the artist whose name begins with the letter "B", another press would take me to artists with letter "C" and so on... Of course this would go in reverse as well, from "B" to "A" ... As such if I wanted an artist such as Green day I could simply press enough times and land on letter G which I could then browse other artists in this alphabet with the skip button.

Cheers!
...yes that shouldn't be a problem

bernyone
Posts: 49
Joined: Fri Sep 29, 2017 8:42 pm

Re: fruitbox MP3 jukebox

Fri Feb 02, 2018 12:11 am

fruitbox wrote:
Thu Feb 01, 2018 11:37 pm

Hi Jon,

Yes you can mix and match input types
Perfect im 1 input short for the mute button

Great stuff Mike

Jon

sasquatch001
Posts: 20
Joined: Thu Dec 14, 2017 11:08 pm

Re: fruitbox MP3 jukebox

Fri Feb 02, 2018 9:17 pm

I'm nearly there.

I want to keep the configuration file and database file on the usb memory stick with the music so that I can swap music collections by just swapping the memory stick.

I have made a copy of the config and database files and put them in /mnt/usb/

I have edited the Database path in the config file to "/mnt/usb/fruitbox.db

When I run "sudo ./fruitbox --cfg /mnt/usb/fruitbox.cfg" I get ERROR: Couldn't load sound ' /mnt/usb/recpop.wav'

Is the link to the database file wrong?

User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Sat Feb 03, 2018 9:41 am

sasquatch001 wrote:
Fri Feb 02, 2018 9:17 pm
I'm nearly there.

I want to keep the configuration file and database file on the usb memory stick with the music so that I can swap music collections by just swapping the memory stick.

I have made a copy of the config and database files and put them in /mnt/usb/

I have edited the Database path in the config file to "/mnt/usb/fruitbox.db

When I run "sudo ./fruitbox --cfg /mnt/usb/fruitbox.cfg" I get ERROR: Couldn't load sound ' /mnt/usb/recpop.wav'

Is the link to the database file wrong?
Hi

The problem is that all the files referenced in the cfg file (I.e. bitmaps, sounds and status text) are located relative to the place the cfg file is. For example if you have a line saying

Code: Select all

Bitmap = file.bmp
Then fruitbox expects the bitmap to be in the same place as the cfg file - in your case on the USB stick.

You have two options...
  • Move your skin files (bitmaps, sounds, etc) to the same place as the cfg file, or
  • Edit the cfg file and change the paths to the bitmaps, i.e.

    Code: Select all

    Bitmap = /home/pi/rpi-fruitbox-master/skins/WallJuke/file.bmp
    
EDIT: just a thought ; if you just want to change music and not skin then you'll just need the database and mp3s on the usb and not cfg file.

Hope that helps,
Mike

sasquatch001
Posts: 20
Joined: Thu Dec 14, 2017 11:08 pm

Re: fruitbox MP3 jukebox

Sat Feb 03, 2018 11:33 am

fruitbox wrote:
Sat Feb 03, 2018 9:41 am
EDIT: just a thought ; if you just want to change music and not skin then you'll just need the database and mp3s on the usb and not cfg file.

Hope that helps,
Mike
That's perfect Mike. I've just pointed the Music path and database file path in the WallJuke skin to the usb drive. Thanks for all your efforts.

Software seems pretty much done. Now to work out how I want to house this.

More photos from all those that have made/adapted a cabinet for this please :)

ps: one small issue I have, (not directly related to fruitbox) is that I have no write permissions to the mounted usb drive when I SSH into the pi from the pc. I had to edit/ move files by keep swapping the usb drive from the pi to the pc. Is there an easy way to open the permissions when attached to the pi?


Thanks everybody

User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Tue Feb 06, 2018 10:41 pm

Hi,

fruitbox v1.6 is released!

This release focuses mainly on better song navigation and genre-based auto play, based on suggestions from ajMatus and OklahomaGreyBeard...thanks!

Highlights:

-> *new* Added Extraction of and Sorting by MP3 Genre
-> *new* Ability to auto play random songs only from specified Genre(s)
-> *new* Ability to jump pages by (last) sort group Alphanumeric value
-> *new* Added ability to pause currently playing song
-> *new* Added '--screenshot <filename>' command line option for capturing screenshot of skin
-> Removed 'TextCondenseLimit' and replaced with individual max_width on each text description

In order to make use of the new Genre selection and sorting abilities, you'll have to regenrerate your database files, as the Genres are extracted during the database creation stage.

As usual, you can download fruitbox from GitHub here...

https://github.com/chundermike/rpi-fruitbox

(see README.md for installation instructions)

A few skin tweaks have also been done (to the fruitbox.cfg files only), to use the new Text max_width field. If you use these latest versions then your long song titles and artists will fit much better within the page strips.

As usual, please let me know of any bugs or new features you'd like to see in future releases.

Cheers,
Mike

mamer999
Posts: 50
Joined: Fri Jan 26, 2018 7:56 am
Location: Germany

Re: fruitbox MP3 jukebox

Wed Feb 07, 2018 12:06 pm

Hi Mike,

first and foremost a great software that is getting better and better! Bouncing is gone since 1.6, Thank You!


I own an Elgato Stream Deck and would like to use this with fruitbox, it is the ideal buttonbox for this.
Below each button is a small display. Each of the 15 buttons can be assigned a small icon.

The box is recognized by evtest but unfortunately not by fruitbox.
Also --test-buttons shows no reaction.

Do you see a way to recognize this device?

The output of evtest:

Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0xfd9 product 0x60 version 0x111
Input device name: "Elgato Systems Stream Deck"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 240 (KEY_UNKNOWN)
Event code 256 (BTN_0)
Event code 257 (BTN_1)
Event code 258 (BTN_2)
Event code 259 (BTN_3)
Event code 260 (BTN_4)
Event code 261 (BTN_5)
Event code 262 (BTN_6)
Event code 263 (BTN_7)
Event code 264 (BTN_8)
Event code 265 (BTN_9)
Event code 266 (?)
Event code 267 (?)
Event code 268 (?)
Event code 269 (?)
Event code 270 (?)
Event code 271 (?)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1518003843.170943, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004
Event: time 1518003843.170943, type 1 (EV_KEY), code 259 (BTN_3), value 1
Event: time 1518003843.170943, -------------- SYN_REPORT ------------
Event: time 1518003843.295666, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90004
Event: time 1518003843.295666, type 1 (EV_KEY), code 259 (BTN_3), value 0
Event: time 1518003843.295666, -------------- SYN_REPORT ------------
Event: time 1518003844.526785, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90003
Event: time 1518003844.526785, type 1 (EV_KEY), code 258 (BTN_2), value 1
Event: time 1518003844.526785, -------------- SYN_REPORT ------------
Event: time 1518003844.642546, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90003
Event: time 1518003844.642546, type 1 (EV_KEY), code 258 (BTN_2), value 0
Event: time 1518003844.642546, -------------- SYN_REPORT ------------
Event: time 1518003845.050526, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90002
Event: time 1518003845.050526, type 1 (EV_KEY), code 257 (BTN_1), value 1
Event: time 1518003845.050526, -------------- SYN_REPORT ------------
Event: time 1518003845.171254, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90002
Event: time 1518003845.171254, type 1 (EV_KEY), code 257 (BTN_1), value 0
Event: time 1518003845.171254, -------------- SYN_REPORT ------------
Event: time 1518003845.586288, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
Event: time 1518003845.586288, type 1 (EV_KEY), code 256 (BTN_0), value 1
Event: time 1518003845.586288, -------------- SYN_REPORT ------------
Event: time 1518003845.697001, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90001
Event: time 1518003845.697001, type 1 (EV_KEY), code 256 (BTN_0), value 0
Event: time 1518003845.697001, -------------- SYN_REPORT ------------
Event: time 1518003845.952379, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0001
Event: time 1518003845.952379, type 1 (EV_KEY), code 240 (KEY_UNKNOWN), value 1
Event: time 1518003845.952379, -------------- SYN_REPORT ------------
Event: time 1518003846.056173, type 4 (EV_MSC), code 4 (MSC_SCAN), value c0001
Event: time 1518003846.056173, type 1 (EV_KEY), code 240 (KEY_UNKNOWN), value 0
Event: time 1518003846.056173, -------------- SYN_REPORT ------------
Event: time 1518003846.486145, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90009
Event: time 1518003846.486145, type 1 (EV_KEY), code 264 (BTN_8), value 1
Event: time 1518003846.486145, -------------- SYN_REPORT ------------
Event: time 1518003846.603864, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90009
Event: time 1518003846.603864, type 1 (EV_KEY), code 264 (BTN_8), value 0
Event: time 1518003846.603864, -------------- SYN_REPORT ------------
Event: time 1518003846.837363, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90008
Event: time 1518003846.837363, type 1 (EV_KEY), code 263 (BTN_7), value 1
Event: time 1518003846.837363, -------------- SYN_REPORT ------------
Event: time 1518003846.972982, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90008
Event: time 1518003846.972982, type 1 (EV_KEY), code 263 (BTN_7), value 0
Event: time 1518003846.972982, -------------- SYN_REPORT ------------
Event: time 1518003847.191490, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90007
Event: time 1518003847.191490, type 1 (EV_KEY), code 262 (BTN_6), value 1
Event: time 1518003847.191490, -------------- SYN_REPORT ------------
Event: time 1518003847.301228, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90007
Event: time 1518003847.301228, type 1 (EV_KEY), code 262 (BTN_6), value 0
Event: time 1518003847.301228, -------------- SYN_REPORT ------------
Event: time 1518003847.534729, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006
Event: time 1518003847.534729, type 1 (EV_KEY), code 261 (BTN_5), value 1
Event: time 1518003847.534729, -------------- SYN_REPORT ------------
Event: time 1518003847.645484, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90006
Event: time 1518003847.645484, type 1 (EV_KEY), code 261 (BTN_5), value 0
Event: time 1518003847.645484, -------------- SYN_REPORT ------------
Event: time 1518003847.877972, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1518003847.877972, type 1 (EV_KEY), code 260 (BTN_4), value 1
Event: time 1518003847.877972, -------------- SYN_REPORT ------------
Event: time 1518003847.977721, type 4 (EV_MSC), code 4 (MSC_SCAN), value 90005
Event: time 1518003847.977721, type 1 (EV_KEY), code 260 (BTN_4), value 0
Event: time 1518003847.977721, -------------- SYN_REPORT ------------
Event: time 1518003848.392715, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000e
Event: time 1518003848.392715, type 1 (EV_KEY), code 269 (?), value 1
Event: time 1518003848.392715, -------------- SYN_REPORT ------------
Event: time 1518003848.506465, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000e
Event: time 1518003848.506465, type 1 (EV_KEY), code 269 (?), value 0
Event: time 1518003848.506465, -------------- SYN_REPORT ------------
Event: time 1518003848.760838, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000d
Event: time 1518003848.760838, type 1 (EV_KEY), code 268 (?), value 1
Event: time 1518003848.760838, -------------- SYN_REPORT ------------
Event: time 1518003848.869585, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000d
Event: time 1518003848.869585, type 1 (EV_KEY), code 268 (?), value 0
Event: time 1518003848.869585, -------------- SYN_REPORT ------------
Event: time 1518003849.077086, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000c
Event: time 1518003849.077086, type 1 (EV_KEY), code 267 (?), value 1
Event: time 1518003849.077086, -------------- SYN_REPORT ------------
Event: time 1518003849.197835, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000c
Event: time 1518003849.197835, type 1 (EV_KEY), code 267 (?), value 0
Event: time 1518003849.197835, -------------- SYN_REPORT ------------
Event: time 1518003849.453215, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000b
Event: time 1518003849.453215, type 1 (EV_KEY), code 266 (?), value 1
Event: time 1518003849.453215, -------------- SYN_REPORT ------------
Event: time 1518003849.559953, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000b
Event: time 1518003849.559953, type 1 (EV_KEY), code 266 (?), value 0
Event: time 1518003849.559953, -------------- SYN_REPORT ------------
Event: time 1518003849.794451, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000a
Event: time 1518003849.794451, type 1 (EV_KEY), code 265 (BTN_9), value 1
Event: time 1518003849.794451, -------------- SYN_REPORT ------------
Event: time 1518003849.900205, type 4 (EV_MSC), code 4 (MSC_SCAN), value 9000a
Event: time 1518003849.900205, type 1 (EV_KEY), code 265 (BTN_9), value 0
Event: time 1518003849.900205, -------------- SYN_REPORT ------------

Greatings from Germany

Jürgen

MichaelH
Posts: 6
Joined: Wed Dec 20, 2017 12:22 pm

Re: fruitbox MP3 jukebox

Wed Feb 07, 2018 1:40 pm

Hi Mike
your software is becoming a work of art and i love it,
I was wondering is it possible to have multiple databases that could be chosen at start up as in 50s 60s 70s etc as i run of a hard drive or is this asking for the sky it was just a though
Regards Micheal

User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Wed Feb 07, 2018 7:08 pm

MichaelH wrote:
Wed Feb 07, 2018 1:40 pm
Hi Mike
your software is becoming a work of art and i love it,
I was wondering is it possible to have multiple databases that could be chosen at start up as in 50s 60s 70s etc as i run of a hard drive or is this asking for the sky it was just a though
Regards Micheal
Hi Michael,

I can add another command line option "--database <filename" which would over-ride the database entry in the skin config file. Or were you thinking of a menu built into fruitbox itself?

Cheers,
Mike

User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Wed Feb 07, 2018 7:14 pm

mamer999 wrote:
Wed Feb 07, 2018 12:06 pm
Hi Mike,

first and foremost a great software that is getting better and better! Bouncing is gone since 1.6, Thank You!


I own an Elgato Stream Deck and would like to use this with fruitbox, it is the ideal buttonbox for this.
Below each button is a small display. Each of the 15 buttons can be assigned a small icon.

The box is recognized by evtest but unfortunately not by fruitbox.
Also --test-buttons shows no reaction.

Do you see a way to recognize this device?

The output of evtest...

Greatings from Germany

Jürgen
Hi Jürgen,

As the Stream Deck is not interpreted as a joystick then fruitbox has trouble recognising it. I am working on adding support for these types of devices, but want to keep it generic as I don't want to have to maintain an ever increasing list of devices. I will enhance the button configuration so that it should be able to support any of these simple button type peripherals, with a little help from the user...

Cheers,
Mike

mamer999
Posts: 50
Joined: Fri Jan 26, 2018 7:56 am
Location: Germany

Re: fruitbox MP3 jukebox

Wed Feb 07, 2018 7:20 pm

Hi Mike,

Thanks for your quick reply. That you do not want to do that specifically for the stream deck, I can understand well. If I can help with a general interface, I like doing it!

Sorry, my english is 'google-translated'! :)

Jürgen

MichaelH
Posts: 6
Joined: Wed Dec 20, 2017 12:22 pm

Re: fruitbox MP3 jukebox

Thu Feb 08, 2018 6:53 pm

fruitbox wrote:
Wed Feb 07, 2018 7:08 pm
MichaelH wrote:
Wed Feb 07, 2018 1:40 pm
Hi Mike
your software is becoming a work of art and i love it,
I was wondering is it possible to have multiple databases that could be chosen at start up as in 50s 60s 70s etc as i run of a hard drive or is this asking for the sky it was just a though
Regards Micheal
Hi Michael,

I can add another command line option "--database <filename" which would over-ride the database entry in the skin config file. Or were you thinking of a menu built into fruitbox itself?

Cheers,
Mike
yes to the a menu at start up so that you can choose the style of music to listen too. i guess it could be a database with a skin each ie 60s db1 walljuke 70s db2 granite etc or something like that. not a problem if its asking to much as the program is great anyway

sasquatch001
Posts: 20
Joined: Thu Dec 14, 2017 11:08 pm

Re: fruitbox MP3 jukebox

Thu Feb 08, 2018 7:12 pm

Hi Mike

Just ordered a hifiberry Amp2 to use with fruitbox. I know you have used one.......was there much setting up to do?

Also, whats the key used to pause the playing track?

Thanks
Dave

User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Fri Feb 09, 2018 12:05 am

MichaelH wrote:
Thu Feb 08, 2018 6:53 pm
fruitbox wrote:
Wed Feb 07, 2018 7:08 pm
MichaelH wrote:
Wed Feb 07, 2018 1:40 pm
Hi Mike
your software is becoming a work of art and i love it,
I was wondering is it possible to have multiple databases that could be chosen at start up as in 50s 60s 70s etc as i run of a hard drive or is this asking for the sky it was just a though
Regards Micheal
Hi Michael,

I can add another command line option "--database <filename" which would over-ride the database entry in the skin config file. Or were you thinking of a menu built into fruitbox itself?

Cheers,
Mike
yes to the a menu at start up so that you can choose the style of music to listen too. i guess it could be a database with a skin each ie 60s db1 walljuke 70s db2 granite etc or something like that. not a problem if its asking to much as the program is great anyway
Hi

I'll see what I can do. Must admit I thought about a skin chooser menu ages ago but never got around to coding one because I thought nobody would want it....

Mike

User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Fri Feb 09, 2018 12:12 am

sasquatch001 wrote:
Thu Feb 08, 2018 7:12 pm
Hi Mike

Just ordered a hifiberry Amp2 to use with fruitbox. I know you have used one.......was there much setting up to do?

Also, whats the key used to pause the playing track?

Thanks
Dave
Hi Dave

Not much set-up at all. HifBerry have a guide here...

https://support.hifiberry.com/hc/en-us/ ... -or-higher

...and you need an extra power supply (which powers the amp as well as the Pi).

Pause button defaults to keyboard 'Z' (see user guide, section 9.1).

Cheers,
Mike

sasquatch001
Posts: 20
Joined: Thu Dec 14, 2017 11:08 pm

Re: fruitbox MP3 jukebox

Fri Feb 09, 2018 2:04 pm

Thanks Mike.

I've got the power supply and speakers coming too :) .

"Z" to pause is not working for me, I'm guessing I didn't successfully update to version 1.6.

I apologise I'm on a steep learning curve here so I get stuck on the basics.


To update from 1.5 to 1.6 can I do the following:

wget https://codeload.github.com/chundermike ... zip/master
unzip master

Would that not overwrite the necessary files?

User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Fri Feb 09, 2018 2:16 pm

sasquatch001 wrote:
Fri Feb 09, 2018 2:04 pm
Thanks Mike.

I've got the power supply and speakers coming too :) .

"Z" to pause is not working for me, I'm guessing I didn't successfully update to version 1.6.

I apologise I'm on a steep learning curve here so I get stuck on the basics.


To update from 1.5 to 1.6 can I do the following:

wget https://codeload.github.com/chundermike ... zip/master
unzip master

Would that not overwrite the necessary files?
Hi,

To check which version you have, just type

Code: Select all

./fruitbox
and it will tell you. If you're still on version 1.5, you can just download the zip file again. To avoid confusion, and prevent you losing any existing data, you could move your current installation before downloading the new one...

Code: Select all

cd ~
sudo mv rpi-fruitbox-master rpi-fruitbox-1.5
wget https://codeload.github.com/chundermike/rpi-fruitbox/zip/master
unzip master
Alternatively if you are working in the GUI, you could open the github link using a web browser, click on the 'fruitbox' file in the list, and when it takes you to the next page, click on the 'Download' button to just download the fruitbox program on its own. Then save it into the rpi-fruitbox-master folder.

Cheers,
Mike

sasquatch001
Posts: 20
Joined: Thu Dec 14, 2017 11:08 pm

Re: fruitbox MP3 jukebox

Fri Feb 09, 2018 7:17 pm

Thank you Mike......back on track.

Updated to 1.6

Pressing "Z" does pause the track. Pressing again does start the track again if looking at the track time but with no audio.

Also, once silently resumed, I can no longer skip track using the backspace key.

User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Fri Feb 09, 2018 9:04 pm

sasquatch001 wrote:
Fri Feb 09, 2018 7:17 pm
Thank you Mike......back on track.

Updated to 1.6

Pressing "Z" does pause the track. Pressing again does start the track again if looking at the track time but with no audio.

Also, once silently resumed, I can no longer skip track using the backspace key.
O dear ... that sounds a bit pants.

I did test the pause and it seemed to work ok, but I'll take another look at the code for any potential issues.

Thanks for reporting the problem.

Oh, and you should be impressed with the Amp...I had some phat choons pumping out on mine...

Cheers,
Mike

sasquatch001
Posts: 20
Joined: Thu Dec 14, 2017 11:08 pm

Re: fruitbox MP3 jukebox

Sat Feb 10, 2018 4:50 pm

fruitbox wrote:
Fri Feb 09, 2018 9:04 pm

Oh, and you should be impressed with the Amp...I had some phat choons pumping out on mine...

Cheers,
Mike
Looking forward to getting it.

Ordered a pair of https://www.whathifi.com/roth/oli-ra1/review to go with it.

Then need to work out how to fit it all together in a cab.

GeoffB
Posts: 19
Joined: Sat Feb 10, 2018 6:14 pm
Location: Leeds, West Yorkshire

Re: fruitbox MP3 jukebox

Sat Feb 10, 2018 10:25 pm

Hi Mike

I have been an avid user of DW Jukebox for quite some years but when the motherboard failed in my last build I scrapped it and went on to use other methods to play my music collection. I had used Raspberry Pi's along with mpd and Volumio but they were never as much used as my old DWJ.

Then a couple of weeks ago I decided to have a look for raspberry pi based jukebox project. So using Google I searched for "RASPBERRY PI JUKEBOX" and came across Fruitbox. I was amazed. At first I thought that the original program had been ported across to Linux but then quickly realised that some clever sod (you!) had written Fruitbox from scratch in the style of DWJ. Wow! I thought all my Christmas's had come at once.

I quickly grabbed on of my many Raspberry Pis and had it up and running with very few problems apart from a few strange problems with Fruitbox building the database

for example I had a few mp3 files where the filenames were a mix of uppercase and lowercase but the ext was all uppercase i.e. Abba - Chiquita.MP3 strangely fruitbox completely ignored these files it took me a while before |I realise what was happening. I then came across a subtle problem that took me a while before I noticed. Any filename that started with a 1 as the first letter the letter would be changed to I in the song title display i.e. "10CC - I'm not In Love - mp3" fruitbox would would display the artist as I0CC and "1910 Fruitgum Co - Simon Says.mp3" would display the artist as I910 FUITGUM CO, Strange but liveable with.

Other than that I got it up and running on a Pi 3 with a handfull of songs (250) in about 30 mins.

I'm currently on v 1.5 and am looking for a suitable cabinet to house my project. I have read through all the posts on the forum and am amazed at the time you put into answering members querries and would like to make a donation for your efforts. If you have a PayPal account you could PM me and give me the details.

Just by-the-bye I ran my Fruitbox today for around 12 hours on random with about 800 songs in the database with absolutely no problems.

I am curious as to the number of people that have built Jukeboxes based on Fruitbox or are considering doing so.

Once again I would thank you for your time and efforts.

joggyBnoob
Posts: 6
Joined: Sun Feb 11, 2018 10:30 am

Re: fruitbox MP3 jukebox

Sun Feb 11, 2018 1:19 pm

Hi Mike and all,

Thank you for your work.

I have a problem with JoyButton 0.
In the 'fruitbox.btn' file, joyButton 0 is associated with 'ButtonSkip'.
When I run fruitbox.cfg, only the ButtonSkip = JoyButton 0 is not loaded.

Another thing:
I'm building a panel with arcade buttons that use 2 usb encoder.
With 'test-buttons', the buttons on both joysticks have the same configuration number. 2 times Joybutton 0, JoyButton 1 ...

Is it possible to differentiate the 2 joysticks in the configuration?

Cheers.

JBn.

User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Sun Feb 11, 2018 3:51 pm

joggyBnoob wrote:
Sun Feb 11, 2018 1:19 pm
Hi Mike and all,

Thank you for your work.

I have a problem with JoyButton 0.
In the 'fruitbox.btn' file, joyButton 0 is associated with 'ButtonSkip'.
When I run fruitbox.cfg, only the ButtonSkip = JoyButton 0 is not loaded.

Another thing:
I'm building a panel with arcade buttons that use 2 usb encoder.
With 'test-buttons', the buttons on both joysticks have the same configuration number. 2 times Joybutton 0, JoyButton 1 ...

Is it possible to differentiate the 2 joysticks in the configuration?

Cheers.

JBn.
Hi

I'm not sure why you are seeing a problem with that button, but I'll try and recreate the issue and fix it.

For multiple joysticks, fruitbox doesn't support that but it should be easy for me to put that in the next release.

Cheers
Mike

User avatar
fruitbox
Posts: 245
Joined: Mon Feb 22, 2016 7:35 pm
Location: UK

Re: fruitbox MP3 jukebox

Sun Feb 11, 2018 9:57 pm

GeoffB wrote:
Sat Feb 10, 2018 10:25 pm
Hi Mike

I have been an avid user of DW Jukebox for quite some years but when the motherboard failed in my last build I scrapped it and went on to use other methods to play my music collection. I had used Raspberry Pi's along with mpd and Volumio but they were never as much used as my old DWJ
....
Just by-the-bye I ran my Fruitbox today for around 12 hours on random with about 800 songs in the database with absolutely no problems.

I am curious as to the number of people that have built Jukeboxes based on Fruitbox or are considering doing so.

Once again I would thank you for your time and efforts.
Hi Geoff,

First of all - thanks for your post. It's really nice to know that you've found something that fits your needs. I've also used DWJukebox in the past, and have been waiting a long time for a linux / Raspberry Pi port, but eventually realised that as there was no sign of anything turning up, then perhaps I should have a crack at coding it myself. Besides, I've used so many fantastic bits of free software from the web I thought it was time I contributed something back!

That was actually nearly three years ago...back then I knocked up a fairly complete software prototype which mirrored all the good bits of DWJukebox, just to see if the Pi was up to the job. It was rough and ready, but it showed me that it was possible. I wasn't really happy with the code though and knew that if I released it in that state I would just be swamped with bug reports, and besides, I didn't even know if there would be any interest for it, since there are many linux media players available. Over time, however, there still seemed to be an absence of "retro" jukebox applications for the Pi, so I decided to write it from scratch again, this time taking more care over its design, adding more features, and making it as robust as possible, with the thought that perhaps I could release it for anyone to use. Unfortunately this took a lot longer than I had planned; my family and working life meant that fruitbox development was limited to one or two snatched late-night coding sessions every few weeks. Eventually I got there, used it at home for a few months, and finally took the plunge and released fruitbox a few months ago, just to see if anyone else would find it useful.

What completely blew me away was the response of the users on the forum. It soon became pretty obvious that this bit of software was something which many of you wanted (and yes; I too would love to get an idea of how many people are using it). The enthusiasm, appetite for new features and feedback everyone has provided has been overwhelming; it has demonstrated how these forums are such a positive driver for creativity and imagination. With the help of everybody's feedback and comments, fruitbox will hopefully become a well respected and widely used piece of software; that is what drives me on to continue its development. It now has many features which I would have never considered before, and thanks to everyone who has contributed with suggestions, fruitbox is a much better piece of software than I could have hoped for. It still has lots of potential for improvement (I already have a list of at least five significant enhancements for the upcoming release 1.7), and I'm sure that there will be more suggestions and requests following that.

And concerning donations; of course, they will be very much welcomed and gratefully received, and provide some reward for the development time and support I have put in, so thank you for the thought. My main incentives for developing fruitbox however are several; 1) I wanted a DWJ experience for the Pi for my own personal use, 2) I enjoy the challenge and learning curve of coding such an app, 3) I wanted to give something back to the community, and finally 4) it makes me happy to know that others are using and enjoying fruitbox.


So, away from these ramblings; about your database issues...

Yes, fruitbox will currently have a problem with finding MP3 files which don't have an all lower-case .mp3 extension, so I'll get that fixed in the next release. Sorry 'bout that.

But regarding the file names that begin with a number - that's really weird. Maybe it's something to do with the Linux OS rather than fruitbox? Anyway, I'll have a play and see if I can get to the bottom of it. Without sounding condesending, it's not the font is it? (i.e. does the '1 character just look like letter 'I') - one way to find out is to make sure the last SortSongsBy value in the cfg file is 'Artist', run fruitbox and then see if the '1' songs appear before the 'A' songs or appear after the 'H' songs).

Cheers, and thanks again for your contribution.

Mike

Markal
Posts: 22
Joined: Sun Feb 11, 2018 1:31 pm
Location: Cape Town

Re: fruitbox MP3 jukebox

Mon Feb 12, 2018 5:27 am

Hi Mike.

I am very excited to try this out as it looks exactly what my son and I are looking to build. A full size replica Wurlitzer but with a digital twist. I cant afford the fancy 22" touch screens so Fruitbox looks like a brilliant option as it allows us to make up our own button system and not just a std keyboard as the Raspberry makes that so easy and you have taken the trouble to make it easy to assign those buttons in the program.

I have just ordered the HiFiBerry card with the RCA connectors as the only reference reading through this post is that you Mike, say that you have tested and Fruitbox works with the HiFiBerry Amp+ so I am hoping it will work with the whole HiFi Berry range.

Has anyone else got Fruitbox to work with any of the other Audio boards?

Reading through some of the reviews for the boards, a lot of them seem to rely on specific software in order to use them and not just a simple question of loading the right drivers.

Once I have received it and connected it, I will give some feedback for general info.

Thanks for all your trouble releasing this software Mike.

Return to “Graphics, sound and multimedia”