Skip to content
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

DietPi-Software | myMPD: Use latest release via api.github.com #2362

Closed
MichaIng opened this issue Dec 23, 2018 · 5 comments
Closed

DietPi-Software | myMPD: Use latest release via api.github.com #2362

MichaIng opened this issue Dec 23, 2018 · 5 comments

Comments

@MichaIng
Copy link
Owner

... instead of master or fixed history point: https://api.github.com/repos/jcorporation/myMPD/releases/latest

@sChUhBiDu
Copy link

How can I do that? Sorry Linux noob here? having problems with playing music. Can see all files but when I press play nothing happens ;_(

@MichaIng
Copy link
Owner Author

@sChUhBiDu
High likely this is due to a current permissions issue with mpd. Please try the following:

sed -Ei '/^(user|group)[[:blank:]]/d' /etc/mpd/mpd.conf
G_CONFIG_INJECT 'User=' 'User=mpd' /lib/systemd/system/mpd.service '\[Service\]'
G_CONFIG_INJECT 'PermissionsStartOnly=' 'PermissionsStartOnly=true' /lib/systemd/system/mpd.service '^User=mpd'
usermod -a -G audio,dietpi mpd
systemctl daemon-reload
systemctl restart mpd

@sChUhBiDu
Copy link

Thanks but this https://github.com/Fourdee/DietPi/issues/2522 help me already.

1 problem left: when I want to save a playlist it says "Invalid filename"

How can I install latest version of MyMPD?

@MichaIng
Copy link
Owner Author

@sChUhBiDu
We currently froze the version due to a database update issue with the latest release some time ago: https://github.com/Fourdee/DietPi/issues/2156

But you can try out the most current release (actually from today 😄) and if it works, we can finish this topic and implement auto install of latest release into DietPi-Software. To try it out:

cd /tmp
wget https://github.com/jcorporation/myMPD/archive/v5.1.0.tar.gz
tar xf v5.1.0.tar.gz
cd myMPD*
./mkrelease.sh
cd /tmp
rm -R myMPD*

@MichaIng MichaIng added this to the Planned for implementation milestone Feb 27, 2019
@MichaIng
Copy link
Owner Author

MichaIng commented Jan 1, 2020

Latest upstream version is already installed since DietPi v6.25. We simply download the master branch archive, which matches the latest release/is release branch.

@MichaIng MichaIng modified the milestones: Planned for implementation, v6.25 Jan 1, 2020
@MichaIng MichaIng closed this as completed Jan 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants