chundermike / rpi-fruitbox-v2

Retro MP3 Jukebox for Raspberry Pi
76 stars 12 forks source link

Run on boot question #14

Open bmaselli13 opened 1 year ago

bmaselli13 commented 1 year ago

I've tried to setup the system to boot to Fruitbox. When I adjust the settings in rc.local, the system still boots to the desktop. Am I missing something?

bmaselli13 commented 1 year ago

Just bumping this

chundermike commented 1 year ago

Ah sorry for delay...not 100% sure. As its not really a fruitbox issue maybe it's worth googling generally?

bmaselli13 commented 1 year ago

Fair enough. Was hoping others who've ran into it might chime in as well. Thanks Mike!

bmaselli13 commented 1 year ago

Worked the start on boot using autostart but now running into an issue when Fruitbox starts. I get an error with the .ini file. (See Attached)

IMG-5491

chundermike commented 1 year ago

The [skins] section is either empty or points to cfg files which don't exist (or their paths are wrong, most probably)

bmaselli13 commented 1 year ago

Let me know if I'm missing something somewhere.

fruitbox.cfg (under home/user/fruitbox folder) skins setting [skins] File = skins/TouchBlue/fruitbox.cfg

TouchBlue folder

background.jpg blue_buttons bnrb.ttf bnr.ttf coming_up.txt data.txt djbgd.ttf foreground.png fruitbox.cfg mute_pressed.txt now_playing.txt record_spin01.png record_spin02.png record_spin03.png record_spin04.png record_spin05.png record_spin06.png record_spin07.png record_spin08.png record_spin09.png record_spin10.png record_spin11.png record_spin12.png record_spin13.png record_spin14.png record_spin15.png record_spin16.png record_spin.txt red_buttons screenshot.jpg song_none.png spectrum.png strip.jpg touch_blue.png volume.png

chundermike commented 1 year ago

Not sure if it's just a formatting issue in the github messaging, but [skins] should be on a separate line to the File = line ...

[skins] File = skins/TouchBlue/fruitbox.cfg

...and this is in the ini file, not cfg file

bmaselli13 commented 1 year ago

Sorry. First file is the .ini file. My bad on that typo.

bmaselli13 commented 1 year ago

yes, it actually reads

[skins] File = skins/TouchBlue/fruitbox.cfg

chundermike commented 1 year ago

Where are you running fruitbox from? In that place there needs to be a directory called skins, which subsequently contains a TouchBlue directory with the cfg file in. Open a command line terminal, cd into the directory you run fruitbox from, then type

ls skins/TouchBlue

...this should show you the cdg file etc.

bmaselli13 commented 1 year ago

running from /home/bmaselli/fruitbox bmaselli@raspberrypi:~/fruitbox $ ls fruitbox install_fruitbox release_notes.txt skins fruitbox.ini install_fruitbox_pi4 rpi userguide.txt fruitbox.log README.md rpi4

in skin folder

bmaselli@raspberrypi:~/fruitbox/skins $ ls CDPlayer2000 JaysIndieglo NewRetro SB-M100 WallJuke2 Classic JaysMoldyOldies NumberOne Terminal WallSmall JaysBigScreen MikeTV RadiOldie TouchBlue WoodysJukebox JaysCDJukebox Modern readme.txt TouchOne Wurly

chundermike commented 1 year ago

Looks OK.. . can you post fruitbox.log please?

bmaselli13 commented 1 year ago

fruitbox version 2.03 (Jul 5 2022, 23:07:24) by Mike Kingsley A customisable MP3/OGV Jukebox for the Raspberry Pi. Free for non-commercial use Raspberry Pi Hardware version 4 detected Detecting display...ERROR: Failed to get display mode

chundermike commented 1 year ago

I thought the issue was with the skin cfg, not display mode? I'm confused now!

bmaselli13 commented 1 year ago

This all happens when it boots up. Currently, I am using autostart to launch fruitbox ( /etc/xdg/lxsession/LXDE-pi/autostart)

This is the last line in that file @lxterminal -e /home/bmaselli/fruitbox/./fruitbox

chundermike commented 1 year ago

I'm getting a bit out of my depth now, as I've never seen these type of issues before. Dare I say it, maybe worth starting from scratch? Sorry, not a lot of help I know.

bmaselli13 commented 1 year ago

It's ok. II appreciate any guidance you've already given. HUGE fan of the product. I'll continue on and see. Thanks!

bmaselli13 commented 1 year ago

I thought the issue was with the skin cfg, not display mode? I'm confused now!

The display mode isn't affecting anything. This is all about the cfg file issue.

chundermike commented 1 year ago

I will keep.thinking about the issue you have...if I manage to reproduce it I'll let you know.

bmaselli13 commented 1 year ago

Thanks. Appreciate it.