pMusic 6.9.3-1

Moderator: Forum moderators

don570
Posts: 699
Joined: Sat Nov 21, 2020 4:43 pm
Has thanked: 5 times
Been thanked: 118 times

Re: pMusic 6.9.1

Post by don570 »

Small pet packages can be attached to a post.
__________________________________

User avatar
peebee
Posts: 1646
Joined: Mon Jul 13, 2020 10:54 am
Location: Worcestershire, UK
Has thanked: 158 times
Been thanked: 724 times
Contact:

Re: pMusic 6.9.1

Post by peebee »

pMusic is stored on Github in:

https://github.com/puppylinux-woof-CE/w ... s-packages

It says it is 6.0.2 in pet.specs but it has Gtk3 support and identifies as 6.9.2 and was updated 10/10/22.....
https://github.com/puppylinux-woof-CE/w ... /pet.specs
https://github.com/puppylinux-woof-CE/w ... pmusic/usr

It does have an open issue: https://github.com/puppylinux-woof-CE/w ... ssues/3568
and some icon problems in some environments......

I can upload to ibiblio as a .pet if thought useful.

Screenshot.png
Screenshot.png (148.2 KiB) Viewed 1555 times

Builder of LxPups, SPups, UPup32s, VoidPups; LXDE, LXQt, Xfce addons; Chromium, Firefox etc. sfs; & Kernels

zigbert
Posts: 88
Joined: Sat Jul 18, 2020 10:44 pm
Has thanked: 22 times
Been thanked: 24 times

Re: pMusic 6.9.3

Post by zigbert »

Version 6.9.3
- Update server links
- Fix splash screen

Download in the main post

User avatar
stemsee
Posts: 782
Joined: Sun Jul 26, 2020 8:11 am
Location: lattitude 8
Has thanked: 186 times
Been thanked: 132 times

Re: pMusic 6.9.3

Post by stemsee »

On my chromebook the 'Master' volume channel is 'Digital Playback'. I add this to func_mixer

Code: Select all

export SPEAKER="'Playback Digital'"

And works now. I already set channel in the tray volume controller (fatdog - i don't know where it stores the value). Maybe Master channel selection could be added, rather than assumed!

Great App!
cheers
stemsee

User avatar
mikeslr
Posts: 2975
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 926 times

Re: pMusic 6.9.3 -- Workaround for radiosure absence

Post by mikeslr »

As I understand it --and is often the case I may be wrong and especially employing the wrong terms-- pMusic/radio made use of radiosure's database. As explained here, https://www.radiosure.fr/ "RadioSure's server was shutdown (in march 2022), RadioSure no longer receives updates to its database of radio station...Without a regularly updated list of radio streams the software will no longer offer new radios, and will no longer connect to radios as soon as their stream addresses change." So, if my understanding is correct, that will also be the situation facting pMusic.
The above website offers two workarounds. I wonder if either could be employed in pMusic? Answering that question and certainly doing anything involving coding is 'above my paygrade.' :cry:

User avatar
fredx181
Posts: 3113
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 378 times
Been thanked: 1329 times
Contact:

Re: pMusic 6.9.3 -- Workaround for radiosure absence

Post by fredx181 »

@mikeslr Hi Mike, untested but a small edit (by changing the http address) in /usr/local/pmusic/func_radio should do, find the following line (probably line 27) :
LC_ALL=C wget --tries=1 -O $WORKDIR/radio_sure.zip http://www.radiosure.com/rsdbms/stations2.zip

and change to:
LC_ALL=C wget --tries=1 -O $WORKDIR/radio_sure.zip http://82.66.77.189/latest.zip
or:
LC_ALL=C wget --tries=1 -O $WORKDIR/radio_sure.zip http://rb2rs.freemyip.com/latest.zip

User avatar
mikeslr
Posts: 2975
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 926 times

Re: pMusic 6.9.3

Post by mikeslr »

Thanks, fred. Both suggestions seem to work :D : while updating databases the source supposedly changed to is displayed. Well, at least nothing got broken. :lol:

zigbert
Posts: 88
Joined: Sat Jul 18, 2020 10:44 pm
Has thanked: 22 times
Been thanked: 24 times

Re: pMusic 6.9.3

Post by zigbert »

Thanks to fredx181 for pointing out a solution to the radiosure issue. I have added the fix to the next version of pMusic.

But, there are more issues to the radio functionality in pMusic. We support 2 ways of playing a radio stream.

1. Streamripper is the preferred choice (if installed). It sets up a sound-server which gives us meta info for every playing track in realtime. ffmpeg reads the server and pipes it to aplay in a raw audio format.

2. If not streamripper is installed, we use ffmpeg to decode the stream directly and sends it decoded to aplay. This gives us meta-info only at the point the stream starts, and that is rather useless.

Streamripper is outdated, and ffmpeg seems limited in supporting other streams than mp3 and ogg. BUT, there might be something I don't get right. Firefox is playing streams pMusic don't, and I think both relies on ffmpeg... ???

User avatar
pp4mnklinux
Posts: 1141
Joined: Wed Aug 19, 2020 5:43 pm
Has thanked: 638 times
Been thanked: 289 times

Re: pMusic 6.9.3

Post by pp4mnklinux »

My vote goes for GOOGLE MUSIC MANAGER.

PP4MNK

User avatar
mikeslr
Posts: 2975
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 926 times

Re: pMusic 6.9.3

Post by mikeslr »

pp4mnklinux, "My vote goes for GOOGLE MUSIC MANAGER".

a deb can be obtained from here, https://github.com/MarshallOfSound/Goog ... NOFFICIAL-. Examination of its Control file (extract the deb) reveals that under F-96, two depends and two suggested libraries are not in F-96. And whether each of those have other dependencies not provided by F-96 or attempting to construct it will reveal other hurdles will have to await an attempt to build it.

Edit: don't bother unless you really know what you're doing. See my post here, https://www.forum.puppylinux.com/viewto ... 020#p88020

Sorry. For now I have matters of higher priority. If you want to tackle it on your own, this post provides a recipe for building applications using PaDS, viewtopic.php?p=40354#p40354. But note, if PPM doesn't offer needed dependencies, you can search for them at https://pkgs.org/. If your binary-compatible distro doesn't offer a particular package, look for them in as closely related an OS as possible. The further away from your binary-compatible distro you get, the more likely the file you obtain can't be used successfully. Newer versions of files often require you to create a symlink to them bearing the name of the file your application needs. And sometimes after hours of work, you'll discover that you've been on a wild goose chase.

Last edited by mikeslr on Sun Apr 30, 2023 10:14 pm, edited 1 time in total.
User avatar
fredx181
Posts: 3113
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 378 times
Been thanked: 1329 times
Contact:

Re: pMusic 6.9.3

Post by fredx181 »

zigbert wrote:

... ffmpeg seems limited in supporting other streams than mp3 and ogg ...

Yes, that's my experience too, better use mpv or mplayer (supports playlists like .m3u too)

User avatar
pp4mnklinux
Posts: 1141
Joined: Wed Aug 19, 2020 5:43 pm
Has thanked: 638 times
Been thanked: 289 times

Re: pMusic 6.9.3

Post by pp4mnklinux »

Hi @mikeslr , thanks a lot, but really, I didn't noticed any error with googlemms.- It's possible my need when working with music and puppy are not so hight as when on winshit, but it's enough for me.... so thanks but it's enough for us.

Thanks a lot for your help.

CHEERS.

mikeslr wrote: Sun Apr 30, 2023 7:46 pm

pp4mnklinux, "My vote goes for GOOGLE MUSIC MANAGER".

a deb can be obtained from here, https://github.com/MarshallOfSound/Goog ... NOFFICIAL-. Examination of its Control file (extract the deb) reveals that under F-96, two depends and two suggested libraries are not in F-96. And whether each of those have other dependencies not provided by F-96 or attempting to construct it will reveal other hurdles will have to await an attempt to build it.

Sorry. For now I have matters of higher priority. If you want to tackle it on your own, this post provides a recipe for building applications using PaDS, viewtopic.php?p=40354#p40354. But note, if PPM doesn't offer needed dependencies, you can search for them at https://pkgs.org/. If your binary-compatible distro doesn't offer a particular package, look for them in as closely related an OS as possible. The further away from your binary-compatible distro you get, the more likely the file you obtain can't be used successfully. Newer versions of files often require you to create a symlink to them bearing the name of the file your application needs. And sometimes after hours of work, you'll discover that you've been on a wild goose chase.

PP4MNK

User avatar
fredx181
Posts: 3113
Joined: Tue Dec 03, 2019 1:49 pm
Location: holland
Has thanked: 378 times
Been thanked: 1329 times
Contact:

Re: pMusic 6.9.3

Post by fredx181 »

It seems to me that Google-Play-Music-Desktop-Player: https://github.com/MarshallOfSound/Goog ... NOFFICIAL- is not the same as "Goggles music manager" : https://github.com/gogglesmm/gogglesmm/releases
(edit: also see: https://gogglesmm.dev/ sorry though, more than enough off-topic now, I'd say.)

User avatar
mikeslr
Posts: 2975
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 926 times

Re: pMusic 6.9.3

Post by mikeslr »

Yes, very different. I examined the rest of the deb's contents. In /usr/share is its primary folder including its executable. [There's only a symlink 'on the path']. I suspect its somehow related to 'electron'. It's not an AppImage one can extract. The required missing debs involve systemd. /Etc gets written to. It uses /lib apparently violating the 'usr-merge' Rule.
Needless to say, I couldn't figure out how to satisfy its needs nor repackage it.

zigbert
Posts: 88
Joined: Sat Jul 18, 2020 10:44 pm
Has thanked: 22 times
Been thanked: 24 times

Re: pMusic 6.9.3

Post by zigbert »

I have uploaded a new version of pMusic that improves the handling of radio-stations.
- It uses www.radio-browser.info instead of radiosure.com
- It supports m3u / m3u8 as playback formats
- It builds the radio-stations database in seconds
- It opens for aac streams, though the support seems limited

Please check out pmusic 6.9.3-1
Download from main post

zigbert
Posts: 88
Joined: Sat Jul 18, 2020 10:44 pm
Has thanked: 22 times
Been thanked: 24 times

Re: pMusic 6.9.3-1

Post by zigbert »

Prebuilt radio index file is updated. The previous was 1 year old.

twigboy
Posts: 13
Joined: Tue Nov 08, 2022 12:20 am
Has thanked: 1 time

Re: pMusic 6.9.3-1

Post by twigboy »

Ok, I missed it somewhere... how to upgrade to a newer version. I have pMusic 5.6.2 running on Bionic Beaver, the version for 32-bit pae -- 'cause it runs better on this old Dell Inspiron 1545 with 2Gb RAM. Anyway, will this newer version run on this Puppy? And do I just run the .pet and all will magically fill in correctly, or would I end up with two versions of pMusic? The pMusic Radio I have is mostly missing the database entries for countries, but I have favorites that I don't want to lose. Thanks.

User avatar
mikeslr
Posts: 2975
Joined: Mon Jul 13, 2020 11:08 pm
Has thanked: 179 times
Been thanked: 926 times

Re: pMusic 6.9.3-1

Post by mikeslr »

The current Puppy I booted into does not have pMusic. And extracting the pet didn't reveal anything obvious. So I don't know where the database is stored: maybe a hidden file in /root or in /root/.config --note the '.=dot'. Right-Click rox's 'EYE' to show hidden files. The safest procedure would be to copy it somewhere so that if the upgrade over-writes it you can copy it back. However, it's unlikely an upgrade will over-write an already existing database.

That said, I strongly suggest that you operate under PupMode 13. See this post https://www.forum.puppylinux.com/viewto ... 83#p97183 . Under PupMode 13 you can try anything. If you're not satisfied with the result all you have to do is reboot without Saving. The changes you made --such as installation of the new pMusic pet-- will only have been in RAM and on Reboot without Saving RAM is cleared and your system returns to its former condition.
If you don't like how PupMode 13 works, you can always undue the setting you made to change to it.

Post Reply

Return to “Multimedia”