pMusic 6.0.0

Audio editors, music players, video players, burning software, etc.
Message
Author
plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#61 Post by plinej »

Could you also add the shorten format (.shn)? ffmpeg supports that format and it works from the cli for me.

User avatar
dogone
Posts: 202
Joined: Tue 22 Apr 2008, 02:53
Location: Arizona, USA

FLAC support, please

#62 Post by dogone »

Zigbert, I have 54GB of FLAC files awaiting Pmusic. Please pursue FLAC compatibility. Thanks!

tempestuous
Posts: 5464
Joined: Fri 10 Jun 2005, 05:12
Location: Australia

#63 Post by tempestuous »

plinej wrote:I didn't have any delay on my system with ffmpeg
My Puppy computer is a Pentium2-350. Modern computers don't reveal such differences.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#64 Post by zigbert »

Ok guys, I just let Pmusic accept *.shn/*.flac/*.ape. lets see what happens :wink:

I do intend to use ffmpeg for all formats, since this gives a VERY simple code. Pmusic use ffmpeg both for songinfo, and playback. Using other libs and cli-players will make it much more complex.

Pmusic may not suit everyone, but hopefully many puppy-users get satisfied, and doesn't need to install a bigger player. After all, Pmusic is a simple bash-script of 37 kb, and will never compete with the 'big guys' such as amarok.

Sigmund

plinej
Posts: 1742
Joined: Mon 14 Aug 2006, 02:21

#65 Post by plinej »

Good, looking forward to 0.1.4

User avatar
peppyy
Posts: 443
Joined: Mon 27 Jun 2005, 23:49
Location: VT USA
Contact:

#66 Post by peppyy »

I created a couple lists with xmms to compare.
The xmms generated .pls file looks like this.

Code: Select all

[playlist]
NumberOfEntries=3
File1=/root/Shared/shawn phillips - woman.mp3
File2=///root/Shared/Shawn Phillips - Moonshine.mp3
File3=///root/Shared/Shawn Phillips - Keep On.mp3
xmms M3u file looks like this.

Code: Select all

#EXTM3U
#EXTINF:292,Shawn Phillips - Woman
/root/Shared/shawn phillips - woman.mp3
#EXTINF:283,Shawn Phillips - Moonshine
///root/Shared/Shawn Phillips - Moonshine.mp3
#EXTINF:201,Shawn Phillips - Keep On
///root/Shared/Shawn Phillips - Keep On.mp3
I am guessing part of it has to do with the /// which I assume means local file?

Pmusic M3u files are much simpler like this.

Code: Select all

/root/Shared/3 Doors Down - Here Without You.mp3
/root/Shared/Cat Stevens - Boy With A Moon & Star On His Head.mp3
/root/Shared/Five for Fighting - 100 Years.mp3
VLC created M3u looks like this.

Code: Select all

#EXTM3U
#EXTINF:0,Shawn Phillips - Keep On
/root/Shared/Shawn Phillips - Keep On.mp3
#EXTINF:283,Shawn Phillips - Moonshine
/root/Shared/Shawn Phillips - Moonshine.mp3
#EXTINF:292,Shawn Phillips - Woman
/root/Shared/shawn phillips - woman.mp3
Which seems to show even different links.

Gxine uses the one you have listed below.

I hope this is helpful :)
zigbert wrote:peppyy
I'm looking right now at the pls-support. I thought that gxine used pls, but that format looked as something else. My playlist file looks like this:

Code: Select all

<ASX VERSION="3.0">
  <SETTINGS REPEAT="false" RANDOM="false"/>
  <ENTRY>
    <TITLE default="y">TNT - Nothern lights</TITLE>
    <REF HREF="file:///root/TNT%20-%20Nothern%20lights.mp3"/>
  </ENTRY>
  <ENTRY>
    <TITLE default="y">Whitesnake - Here I go again</TITLE>
    <REF HREF="file:///root/Whitesnake%20-%20Here%20I%20go%20again.mp3"/>
  </ENTRY>
</ASX>


Do you know anything about this?
What program do you use to make pls-file?
What playlist format are common? I have only used m3u.

Sigmund
Puppy Linux...
It just works!

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#67 Post by zigbert »

Version 0.1.4
with experimental support of *.ape / *.flac / *.shn / *.pls

See main post.

Because of holiday :D :D :D :D :D :D I will be mostly OFF the forum in some time. Happy days to you too.

Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#68 Post by zigbert »

Version 0.1.5
See main post

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#69 Post by zigbert »

Version 0.2.0
See main post

Changelog 0.2.0
- Theme support.
- Pmusic runs better on older hardware:
- New option: Higher cpu-priority to avoid stutter (nice -18 ).
- The progress-bar-function is set to use lesser cpu (nice +18 ).

User avatar
BarryK
Puppy Master
Posts: 9392
Joined: Mon 09 May 2005, 09:23
Location: Perth, Western Australia
Contact:

#70 Post by BarryK »

For the first time I am testing Pmusic, in 4.1alpha6. It does not work for me.

A bug (?) already reported in this thread, when pmusic is started, the following is output rapidly and endlessly:

Code: Select all

cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
I added /usr/share/audio/2barks.au to the playlist, highlighted it, clicked the Play button, no sound at all. My volume is at 100% and it plays if I click on the file in Rox.

A lot of stuff came out on the terminal:

Code: Select all

cat: /usr/local/pmusic/themes/pmusic_original/themerc: No such file or directory
cat: /usr/local/pmusic/themes/pmusic_original/themerc: No such file or directory
/usr/local/pmusic/func_kill: line 8: kill: (7259) - No such process
cat: /usr/local/pmusic/themes/pmusic_original/themerc: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_alphabetic: No such file or directory
cat: /root/.pmusic/index_alphabetic: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
Playing Sparc Audio 'stdin' : Signed 16 bit Big Endian, Rate 8000 Hz, Mono
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
cat: /root/.pmusic/tmp/pmusic-progressbar_status: No such file or directory
cat: /usr/local/pmusic/themes/pmusic_original/themerc: No such file or directory
cat: cat: /root/.pmusic/tmp/pmusic-SHUFFLE: No such file or directory
/usr/local/pmusic/func: line 922: [: =: unary operator expected
/root/.pmusic/index_all: No such file or directory
cat: /root/.pmusic/tmp/pmusic-REPEAT: No such file or directory
/usr/local/pmusic/func: line 936: [: =: unary operator expected
cat: /usr/local/pmusic/themes/pmusic_original/themerc: No such file or directory
/usr/local/pmusic/func_kill: line 8: kill: (7601) - No such process
cat: /root/.pmusic/tmp/pmusic-OLD_TIME: No such file or directory
I added /usr/share/audio/2barks.wav, also no sound.
I tested with 'aplay 2barks.au' on the commandline, plays the sound ok.
This is Pmusic 0.2.0.
[url]https://bkhome.org/news/[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#71 Post by zigbert »

You're absolutely right, it doesn't bark. I made a quick check. The terminal output isn't pointing to any harm. ( I guess I have to spread around some '> /dev/null' :) ).

I first thought this could be a trouble with mono files, since ivy.mp3 plays (from the same dir as 2barks.wav), but no; I converted it to stereo and just the same silence. Then I made a 6barks.wav and this plays fine. For some reason process is cut when sound are too short??? I have NO idea of how to fix this......

You may wonder why Pmusic runs wav-files through the ffmpeg converter, and not directly to aplay. This is because ffmpeg generates output (filename, length, bitrate...) that Pmusic uses in progress-bar, and song-info. If we should use output from aplay, the Pmusic backend had to have 2 separate parts; one for ffmpeg, and one for aplay.

.......Maybe a solution could be to measure the length of 'song'. If it is shorter than 5 sec - use only aplay (no progress-bar)........This still doesn't solve the problem with /usr/share/audio/illegal_move.ogg which aplay can't play without using ffmpeg. (and it is too short....)

feedback are welcome :wink:

Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#72 Post by zigbert »

I've found a solution.

If length of sound file is under 3 sec, we could skip the pipe to aplay, and make a temporary file. ffmpeg -i /usr/share/audio/illegal_move.ogg -f au -y $HOME/.pmusic/tmp/tmp.au. Now this can be played with aplay.

I'll put it on the todo-list

Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#73 Post by zigbert »

Version 0.2.1
See main post

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#74 Post by Béèm »

Just downloaded Pmusic for the first time and did run it.
I couldn't add and browse my music directory which is on a shared resource in XP
With rox I can go to that shared resource.
No support for this?
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#75 Post by zigbert »

I don't know anything about sharing with windows :oops: , so I need some more info before I can answer that question.
- Do you mount this shared resource?
- If so, are the shared songs detected by the 'open-file-dialog' in Pmusic?
- If not, are the shared songs detected by other apps using the gtk2-open-file-dialog?


Sigmund

User avatar
HairyWill
Posts: 2928
Joined: Fri 26 May 2006, 23:29
Location: Southampton, UK

#76 Post by HairyWill »

zigbert wrote:I don't know anything about sharing with windows :oops: , so I need some more info before I can answer that question.
- Do you mount this shared resource?
- If so, are the shared songs detected by the 'open-file-dialog' in Pmusic?
- If not, are the shared songs detected by other apps using the gtk2-open-file-dialog?


Sigmund
I suspect the problem may just be that it is very slow to index a large music collection over the network.

If I use file-open song/playlist I can add tracks from individual directories on the network and play them.

edit
actually the indexing turns out to be very fast, approximately 10000 songs in less than a minute
Will
contribute: [url=http://www.puppylinux.org]community website[/url], [url=http://tinyurl.com/6c3nm6]screenshots[/url], [url=http://tinyurl.com/6j2gbz]puplets[/url], [url=http://tinyurl.com/57gykn]wiki[/url], [url=http://tinyurl.com/5dgr83]rss[/url]

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#77 Post by Béèm »

zigbert wrote:I don't know anything about sharing with windows :oops: , so I need some more info before I can answer that question.
- Do you mount this shared resource?
- If so, are the shared songs detected by the 'open-file-dialog' in Pmusic?
- If not, are the shared songs detected by other apps using the gtk2-open-file-dialog?


Sigmund
I mount a Windows share with pnethood.
So it is accessed like any other directory.
I could point to the directory on the share where to start looking and then it stood there busy for such a long time I finally stopped the application.
With gThumb I have the same phenomena, when trying to create an alum, the open file dialog after quite some time started to show activity and I saw the reference of the picture which were importing.
But at the end the application stopped by a lack of space in my personal file, but indeed here the open file dialog was working.

Maybe be I have to have more patience, but I think 10 minutes is already quite some time.

The link to the share is 400mbps, so that can't be really a bottle neck.

As you can see, I run gnome.
Maybe I should try in jwm.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#78 Post by zigbert »

Please try a 'normal' Puppy, just to compare...... A thought.....could it be a UTF-8 problem? Could it be that french chars corrupting things???

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#79 Post by Béèm »

As stated, I will try in JWM later.
With rox however (as with Nautilus) I can go to the Windows share without a problem and at a good speed.
Rox will indicate, indeed, files with accented characters in ed, but they can be opened.
So that shouldn't be a show-stopper either.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

User avatar
Béèm
Posts: 11763
Joined: Wed 22 Nov 2006, 00:47
Location: Brussels IBM Thinkpad R40, 256MB, 20GB, WiFi ipw2100. Frugal Lin'N'Win

#80 Post by Béèm »

Tried in JWM.
It took quite some time to do the browsing to the directory where my music is. I added all to the playlist, which took a long time as well for the 250 songs.

I went back to Gnome and tried again.
I finally could browse to the directory where the songs are, but it took longer then in JWM. Also the add to playlist took longer.
Maybe I had some issue in Gnome and in fact I experience some performance issues in Gnome.

So this being settled, will there be such thing as a library in future, in which songs canbe sorted by album/name/artist etc...?

In the meantime I stumbled on wxMusik, writtenby MU some time ago and this little app can do that.
Time savers:
Find packages in a snap and install using Puppy Package Manager (Menu).
[url=http://puppylinux.org/wikka/HomePage]Consult Wikka[/url]
Use peppyy's [url=http://wellminded.com/puppy/pupsearch.html]puppysearch[/url]

Post Reply