Thank you for your donation!


Cloudsmith graciously provides open-source package management and distribution for our project.


Instruction Guide Moode 9: Add AAC bluetooth codec support
#9
(03-15-2025, 02:38 AM)jenzd Wrote: The solution works, yet relies on "+aac" appearing in the package name.

A more flexible solution could be to keep any newer version which a user might have installed by hand. After playing around with dpkg a bit, I found the following method to compare the installed version against a requested version ("4.2.0-2moode1" in this case):

Code:
if dpkg --compare-versions $(dpkg-query -W -f='${Version}' bluez-alsa-utils) ge "4.2.0-2moode1"; then echo "Newer or equal version"; else echo "Older version"; fi


Best regards,
Jens

I'll test it out, thanks.
Enjoy the Music!
moodeaudio.org | Mastodon Feed | GitHub
Reply


Messages In This Thread
RE: Moode 9: Add AAC bluetooth codec support - by Tim Curtis - 03-15-2025, 10:14 AM

Forum Jump: