-
Notifications
You must be signed in to change notification settings - Fork 403
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New install script: testing and input needed!!! #122
Comments
Hi, Cheers, Thomas |
Hi @gusmax777
When you say
What do you get when you type
|
Hi, I think that my installation of mpc is somehow corrupt. The outputs to the 2 cats is: pi@raspberrypi:~ $ sudo cat /etc/mpd.conf | grep mixer_control and sudo cat /etc/mpd.conf | grep music_directory Cheers, Thomas |
Hi, And about mpc... The phoniebox itself works. But I cannot start the playback of any file. Cheers, Thomas |
Can you manually replace
with
inside Regarding the accessibility and changes via web app, please type:
Then do a reboot... (I have to figure out what's wrong with the script re mpd.conf - but have to do that after work :) |
Thanks Micz, That made it working again. Will do some more tests in the evening. Cheers, Thomas |
Hi @Caliandroid
And thanks again for testing!!!! |
You're welcome and i have to thank you for all the effort. Results: RFID-usage-only: Resume play doesn't work too if i press the GPIO pause button (a.k.a %cmdpause%) before swiping card B. I assume that no resume bookmark is created when i control the box by rfid and gpio. web-app-usage: |
@Caliandroid But swipe and web app should work identically. Can you try some more? There was a change in the format of the file tracking position. Possibly the resume only works the second time round. |
Update: I've played around a little bit more and activated the debug mode. I've found out that the lastplayed.dat don't get written/updated with but this is the default "halt" function in the gpio.script We could add the I will continue after my kids have gone to sleep :-) |
Another problem found (without modifications) I've received a lastplayed.dat file in folder B that contains the data from folder A (folder B was playing and i swiped card A). and something else:
|
Hi @Caliandroid |
Hi @MiczFlor : 2hours ago i was able to pull the changes but it became even worse and some cards did not play anymore and no position was saved. I was not able to check the logs and did everything over my smartphone. I've seen that you changed file access rights + folder write procedure for lastplayed.dat in your latest commit 15 min ago, so i updated the repository once again and my first RFID tests worked just fine after i de- and reactivated the resume play to delete the existing lastplayed.dat files.
I'll keep this branch and get back at you in case of problems. Another minor bug that i've found: (i don't know if it exists only in the pr80 branch): File order of tracks inside a folder is sometimes A-Z then a-z:
and sometimes it's Aa-Zz
As a result, the track order is not always identical while using the "NEXT" command. I'll try to send you some screenshots |
Hi @Caliandroid |
And please start another issue regarding the ordering. Thanks! |
Done - Thank you |
I am closing this ticket, because of the launch of version 1.0 on master. If you have any issues, please try first if they are still happening on the latest version 1.0. If so, open another ticket, please.
The version 1.0 has not been tested on
Version 1.0 is a major improvement (which will be full of bugs, for sure :) and I want to thank all the contributors and Phoniebox lovers with their input, pictures, bug fixes and suggestions. |
While we are working on the new branch
pr80-mpd-as-audio-player
a new installation routine is in the making. You can see the script here:https://github.com/MiczFlor/RPi-Jukebox-RFID/blob/pr80-mpd-as-audio-player/scripts/installscripts/stretch-install-default-02.sh
The new install will also look for an existing install and ask what elements to re-use (e.g. GPIO scripts, audio folders, etc.)
The one line install should look something like this:
Needless to say: there are bound to be problems once this branch goes live.
So I would appreciate feedback and possible tests.
Having said that, you would need to edit the current version to work with the branch. Actually, I fixed this, the install script will now automatically switch to the dev branch,pr80-mpd-as-audio-player
and notmaster
I want this to work at least for "out of the box" installs before we move the entire master to the new
MPD
driven playout - which has a lot of neat little improvements (like 'resume play' for audiobooks which can be set individually) besides massive battery saving.The script is kind of half finished. But the sooner the testing starts the better. One of the features that will be included once the install works: "fallback to hotspot", meaning: if you are on the road, you can connect to the Phoniebox directly, it will start a WiFi hotspot. When at home, it will connect to your WiFi as usual.
So please, knock yourself out to test this.
The text was updated successfully, but these errors were encountered: