Hi,
Hi,PittStone wrote: ↑Wed Jun 13, 2018 12:31 pmI have put a .ogv Video in a new folder and edited the fruitbox.cfg to point to them. If i start with "MikeTV" Skin it says nothing mp3 files found. Its not search for .ogv? The new Skins are Downloaded after Update, but if i start fruitbox, the old version 1.11 is on the loading Screen.
Code: Select all
wget https://github.com/chundermike/rpi-fruitbox/raw/master/fruitbox
chmod +x ./fruitbox
Code: Select all
sudo apt-get install libvorbis-dev libtheora-dev
Oops - yes it looks like I broke that in v1.12.mlill wrote: ↑Thu Jun 14, 2018 12:53 pmReally nice program, enjoy using it.However for me autoplay no longer works. Coming from a cold start after a short delay it will pick a tune and play it. From that point no more autoplay.
Switching back to use a previous fruitbox executable all is fine (ie no other changes)
Any hints?
Yes ... there's a new config parameter called PairedSongText which allows the two song entries in each song pair to be defined independently (font, colour, alignment, and also position). So specify this in the same way as SongText, but tweak the x and y offsets to move the second song entry around independently of the first.shhammer5634 wrote: ↑Mon Jun 18, 2018 9:00 pmLast week I asked if there was a way to specify the spacing between the top and bottom songs on a title strip. Your reply was that it would be in the next release, the one that came out last week. I didn't find any info on this in the documentation. Doesn't mean it's not there, I just didn't see it. Did that bit make it into this release?
Yes ... but note that in order to group the songs together in albums, set the SortSongsBy config parameter to Album (if you have multiple SortSongsBy entries, make sure the last one is set to Albums). See the Granite skin for an example.shhammer5634 wrote: ↑Mon Jun 18, 2018 9:00 pmWhen creating an album mode touch screen will touch song have the effect of selecting the whole album?
Yes ... the skin selection screen works for touch screen...just touch the moving arrows to change skin, and then touch the skin description box to select it.shhammer5634 wrote: ↑Mon Jun 18, 2018 9:00 pmMy aim is to have three different skins depending on the mood I'm in, and whether of not my wife is using it. She's very much of the opinion that if she wants to listen to music she doesn't want to have to browse the selections or plug in flash drives. She just wants turn it on and have it take off playing. I can do that with autoplay I'm sure. I'm trying very hard to just use the touch screen without any additional buttons. So the question is, if I use the skin selector on start up, is there some way to make the selection using the touch screen, or am I relegated to actual buttons for that?
Mike,fruitbox wrote: ↑Tue Jun 19, 2018 7:39 amHi Steve,
Yes ... there's a new config parameter called PairedSongText which allows the two song entries in each song pair to be defined independently (font, colour, alignment, and also position). So specify this in the same way as SongText, but tweak the x and y offsets to move the second song entry around independently of the first.shhammer5634 wrote: ↑Mon Jun 18, 2018 9:00 pmLast week I asked if there was a way to specify the spacing between the top and bottom songs on a title strip. Your reply was that it would be in the next release, the one that came out last week. I didn't find any info on this in the documentation. Doesn't mean it's not there, I just didn't see it. Did that bit make it into this release?
Yes ... but note that in order to group the songs together in albums, set the SortSongsBy config parameter to Album (if you have multiple SortSongsBy entries, make sure the last one is set to Albums). See the Granite skin for an example.shhammer5634 wrote: ↑Mon Jun 18, 2018 9:00 pmWhen creating an album mode touch screen will touch song have the effect of selecting the whole album?
Also note that if you are in credits mode (not freeplay), then not all the songs on the album may be added to the play queue depending upon how many credits you have inserted, because credits still relate to individual songs and not albums, i.e. if you have six credits and there are ten songs on the album, only the first six songs on the album will be queued up when you select the album).
Yes ... the skin selection screen works for touch screen...just touch the moving arrows to change skin, and then touch the skin description box to select it.shhammer5634 wrote: ↑Mon Jun 18, 2018 9:00 pmMy aim is to have three different skins depending on the mood I'm in, and whether of not my wife is using it. She's very much of the opinion that if she wants to listen to music she doesn't want to have to browse the selections or plug in flash drives. She just wants turn it on and have it take off playing. I can do that with autoplay I'm sure. I'm trying very hard to just use the touch screen without any additional buttons. So the question is, if I use the skin selector on start up, is there some way to make the selection using the touch screen, or am I relegated to actual buttons for that?
Cheers,
Mike
Hi CoD,CoD wrote: ↑Wed Jun 20, 2018 3:19 pmHi,
Is it possible to support rotary encoders with fruitbox ? like this one https://www.modmypi.com/raspberry-pi/se ... der-module
I'd like to change the volume or navigate left page /right page with it.
Thanks for your very nice job.
CoD
Code: Select all
wget https://github.com/chundermike/rotary_alsa_volume/raw/master/rotary_alsa_volume
sudo chmod +x ./rotary_alsa_volume
Thank you for your fast answer, I'll look at your solution, it was also my first idea before asking you to add this very usefull option to fruitbox.fruitbox wrote: ↑Thu Jun 21, 2018 8:06 am
Not directly, but in my original jukebox project I wrote a separate program called rotary_alsa_volume which allows you to change the master ALSA mixer volume using two GPIO pins connected to a rotary switch. I've added this to a new GitHub repository, so if you want to give it a try then please do...it may work for you.
Get the executable from GitHub...
Code: Select all
wget https://github.com/chundermike/rotary_alsa_volume/raw/master/rotary_alsa_volume sudo chmod +x ./rotary_alsa_volume
If you run it with no command line arguments it will give you some help. Please note that it uses the wiringPi library so you may have to install this first (I can't remember the exact commands, but if googling doesn't help, then get back to me and I'll try and find out for you...). Also note that the GPIO pin numbers you specify are not the same numbering scheme (Broadcomm) as fruitbox uses, so read the help from rotary_alsa_volume carefully for advice!
I'm not sure if you have fruitbox auto-running from boot (via the .bashrc file), but you'll need to run rotary_alsa_volume from boot before you run fruitbox, and remember to run it in the background (by adding a & to the end of the command) otherwise fruitbox won't subsequently run.
If it doesn't work for you, please let me know.
That would be great

I've managed to capture a couple of debug files (on Jessie), but I'm not sure how to attach them to this message (.dbg files not allowed?) or PM them to you.bernyone wrote: ↑Mon Jun 04, 2018 7:47 amSnap!Scally wrote: ↑Sun Jun 03, 2018 9:08 pmHi Mike - I'm hoping that you might still have some time to look at this delay problem? Just let me know if there's a debug version I should run (on Jessie).Scally wrote: ↑Wed Apr 11, 2018 10:37 pm
I'm back from holiday - but, yes, I still have this problem and would love to try and find the cause of the problem. It still puzzles me why, with the test-button option, I can press buttons all day long and not have any delay, but run fruitbox normally and within a handful of presses / joystick movements I start to see really long delays (many seconds). It does respond eventually, so the event is not lost, just somehow queued etc. I can't tell if the pi's CPU is somehow busy with something else, but if it is already playing a song this just carries on normally.
I'd be happy to run some debug versions, but I would need the Jessie builds.
Likewise, it's the only thing stopping me from going live on my arcade machine with fruitbox!
Scally
Thanks!
Scally
Been using the jukebox regulatory and until yesterday it's been fine and all of a sudden the lag reappears from nowhere....
Really need to get it sorted before the 16th as me and the wife are renewing our wedding vows and the jukebox will be providing the music for the after party....
Cheers
Jon
Hi,
Hi,Scally wrote: ↑Thu Jun 21, 2018 7:40 pmI've managed to capture a couple of debug files (on Jessie), but I'm not sure how to attach them to this message (.dbg files not allowed?) or PM them to you.bernyone wrote: ↑Mon Jun 04, 2018 7:47 amSnap!
Been using the jukebox regulatory and until yesterday it's been fine and all of a sudden the lag reappears from nowhere....
Really need to get it sorted before the 16th as me and the wife are renewing our wedding vows and the jukebox will be providing the music for the after party....
Cheers
Jon
I ran this from the command line. I ran it twice, the first one was quite short, just using the joystick to move pages, but there was already a noticeable delay after a handful of events, but before the autoplay kicked in. On the second file, the last few joystick/button events take around 10-15seconds, though I've had much longer delays build up. This happens every time I run fruitbox.
I think the files are way too large to paste here, but the end of the second file is thus:fruitbox wrote: ↑Thu Jun 21, 2018 7:57 pmHi,Scally wrote: ↑Thu Jun 21, 2018 7:40 pmI've managed to capture a couple of debug files (on Jessie), but I'm not sure how to attach them to this message (.dbg files not allowed?) or PM them to you.bernyone wrote: ↑Mon Jun 04, 2018 7:47 am
Snap!
Been using the jukebox regulatory and until yesterday it's been fine and all of a sudden the lag reappears from nowhere....
Really need to get it sorted before the 16th as me and the wife are renewing our wedding vows and the jukebox will be providing the music for the after party....
Cheers
Jon
I ran this from the command line. I ran it twice, the first one was quite short, just using the joystick to move pages, but there was already a noticeable delay after a handful of events, but before the autoplay kicked in. On the second file, the last few joystick/button events take around 10-15seconds, though I've had much longer delays build up. This happens every time I run fruitbox.
I don't think we can PM anymore in the forums, so I wander if you could just cut and past the debug file into a reply here?
Cheers,
Mike
Thank you for your quick reply, this is exactly what I was looking for ...fruitbox wrote: ↑Thu Jun 21, 2018 7:54 pmHi,
Hopefully I understand you correctly...
In the existing Wurly skin, the page_bkgnd.png is the background image for the song pages. The size of these as displayed on the screen is set by the PageSize parameter in the [general] section.
The actual size of the image in the png file doesn't matter...fruitbox will scale it to the size specified by PageSize.
Hope this answers your question?
Cheers,
Mike
P.S. I noticed the lightning bolt in the top corner of the display - this indicates a GPU power brown-out, and will probably result in sluggish graphics (especially if you decide to play music videos), so it's maybe worth considering using a better power adaptor with a higher current rating...
Hi,Scally wrote: ↑Thu Jun 21, 2018 8:05 pmI think the files are way too large to paste here, but the end of the second file is thus:fruitbox wrote: ↑Thu Jun 21, 2018 7:57 pmHi,Scally wrote: ↑Thu Jun 21, 2018 7:40 pm
I've managed to capture a couple of debug files (on Jessie), but I'm not sure how to attach them to this message (.dbg files not allowed?) or PM them to you.
I ran this from the command line. I ran it twice, the first one was quite short, just using the joystick to move pages, but there was already a noticeable delay after a handful of events, but before the autoplay kicked in. On the second file, the last few joystick/button events take around 10-15seconds, though I've had much longer delays build up. This happens every time I run fruitbox.
I don't think we can PM anymore in the forums, so I wander if you could just cut and past the debug file into a reply here?
Cheers,
Mike
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 0
5b2bec65 INPUT EVENT 1
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 0
5b2bec65 INPUT EVENT 1
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 80000000
5b2bec65 INPUT EVENT 1
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 0
5b2bec65 INPUT EVENT 1
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 0
5b2bec65 INPUT EVENT 1
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 80000000
5b2bec65 INPUT EVENT 1
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 0
5b2bec65 INPUT EVENT 1
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 80000000
5b2bec65 INPUT EVENT 1
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 0
5b2bec65 INPUT EVENT 2
5b2bec65 ALLEGRO_EVENT_JOYSTICK_BUTTON 0
5b2bec65 INPUT QUEUE PUSH 1 0
5b2bec65 INPUT QUEUE POP 0 0
5b2bec65 INPUT EVENT 1
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 80000000
5b2bec65 INPUT EVENT 1
5b2bec65 ALLEGRO_EVENT_JOYSTICK_AXIS 0
I don't know how well this captures the delays that I see. Happy to run a more specific test if necessary.
Hi,colinstahl wrote: ↑Thu Jun 28, 2018 3:26 pmHello.
First off I'd like to say thank you to Mike and everyone else here. This is an incredible project, and the community here is awesome. With the help of this forum, I've been able to create a device to modernize my Rowe/AMI CD100 jukebox with the ability to add mp3 music to its functionality without destroying the old-school charm of the CD changer. My plan is to place a small touchscreen in an existing opening in the front panel of the juke where there was previously only a price list, and have the option of old school CD music or utilize Fruitbox to access my modern mp3 library. I've come to the point, however, where I need some help.
I'm using a non-standard touchscreen, as the official 7-inch pi screen is too large to fit in the opening and I'd prefer to not alter the front panel. I purchased a 5" LCD touch screen from DealExtreme, and was able to make it work in the gui of a full install of Raspbian.
I created my Fruitbox install using Raspbian Stretch Lite, and installed the touchscreen driver. The driver appears to be loading properly; when it boots, I get a status 'NOTE: Opened input device 'ADS7846'(dev/input/event2)' during startup.
My problem is when I run '--config-buttons --touch-device ADS7846' and try to assign the inputs for Left, Right, skip, random, Vol+ and Vol-, when I touch the screen anywhere it generates 'GPIO 25'on the display, and when the fruitbox.btn file is created, all of these buttons are assigned 'GPIO 25' and Fruitbox halts with an 'ERROR: Duplicated Button mapping'
I've read through the forum and the user guide, but can't seem to find a reference to a solution. I would appreciate help from anyone who has experienced this problem.
Thanks in advance.
Let's Rock!