pMusic 6.0.0

Audio editors, music players, video players, burning software, etc.
Message
Author
User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1421 Post by zigbert »

sheldonisaac
I wonder what errors make it silence.....????
pMusic generates a command that is executed when playing. It is located in /root/.pmusic/tmp/exec
In the original command all errors are pointed to the files ffmpeg_output and aplay_errors. To see the errors in terminal you can execute this simplified command:

Code: Select all

LANG=C exec ffmpeg -i 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=389999' -ss 0  -f au - | aplay
I tried to setup Web music, it quit with an error message.
What errors?


Thank you for reporting
Sigmund

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

#1422 Post by sheldonisaac »

zigbert wrote:sheldonisaac
I wonder what errors make it silence.....????
pMusic generates a command that is executed when playing. It is located in /root/.pmusic/tmp/exec
In the original command all errors are pointed to the files ffmpeg_output and aplay_errors. To see the errors in terminal you can execute this simplified command:

Code: Select all

LANG=C exec ffmpeg -i 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=389999' -ss 0  -f au - | aplay
I will report on this soon. (see at bottom)
Thanks.
EDIT: Works now.
I just heard The Rhythm Hounds playing Lover's Rhumba from Mystery walk. (Jamendo Blues section)

I finally found this by Playdayz (some snipping):
The Pmusic upgrade for Lucid 528 has a later ffmpeg (0.8.9) than the default Lucid.
ftp://distro.ibiblio.org/puppylinux/pet ... 28-005.pet
I tried to setup Web music, it quit with an error message.
zigbert wrote:What errors?

Code: Select all

--2012-11-10 18:53:20--  http://www.meownplanet.net/zigbert/pmusic_index_webmusic.gz
Resolving www.meownplanet.net... 96.30.0.248
Connecting to www.meownplanet.net|96.30.0.248|:80... connected.
HTTP request sent, awaiting response... 401 Authorization Required
Reusing existing connection to www.meownplanet.net:80.
HTTP request sent, awaiting response... 404 Not Found
2012-11-10 18:53:22 ERROR 404: Not Found.

FINISHED. PRESS ENTER KEY TO CLOSE THIS WINDOW: 

Code: Select all

LANG=C exec ffmpeg -i 'http://api.jamendo.com/get2/stream/track/redirect/?streamencoding=mp31&id=389999' -ss 0  -f au - | aplay
ffmpeg version 0.8.9
(For some reason, my Lucid Puppy had a version which might be
FFmpeg 0.6-4:0.6-2ubuntu4 ???)

Code: Select all

    encoded_by      : Jamendo : http://www.jamendo.com | LAME
    TDTG            : 2012-01-29T11:14:54
  Duration: 00:03:08.36, start: 0.000000, bitrate: 96 kb/s
    Stream #0.0: Audio: mp3, 44100 Hz, stereo, s16, 96 kb/s
Playing Sparc Audio 'stdin' : Signed 16 bit Big Endian, Rate 44100 Hz, Stereo
Output #0, au, to 'pipe:':
  Metadata:
    title           : A
    artist          : Frozen Silence
    album           : Notes
    date            : 2009
    genre           : (255)
    publisher       : Jamendo
    copyright       : 2009-07-22T09:29:37+01:00 Frozen Silence. Licensed to the public under http://creativecommons.org/licenses/by-nc-sa/3.0/ verify at http://www.jamendo.comalbum/49125/
    encoded_by      : Jamendo : http://www.jamendo.com | LAME
    TDTG            : 2012-01-29T11:14:54
    encoder         : Lavf53.5.0
    Stream #0.0: Audio: pcm_s16be, 44100 Hz, stereo, s16, 1411 kb/s
Stream mapping:
  Stream #0.0 -> #0.0
Press [q] to stop, [?] for help

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

testing RC11

#1423 Post by rodin.s »

RC11 works better, faster, with radio and with local files. Streamripper also works. Will do more testing later.
Attachments
processes_time.txt.gz
RC11 processes.
(930 Bytes) Downloaded 465 times

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

cannot get pmusic.pot using pMusic 2.9.19 ...?!

#1424 Post by charlie6 »

Hi Sigmund,
:shock: cannot get pmusic.pot using MoManager+pMusic 2.9.19 ...?!
zigbert wrote:Charlie
Playlist names is fixed.
When translation is finished, please give me a note, and I will upload it in the pMusic_NLS post. Be aware that most of the new rc's have small NLS updates.
thanks therefore !

Now i cannot longer get a pmusic.pot, nor pmusic.po using MoManager, even on a fresh install of pMusic2.9.19 on dpup-exprimo.
what happens:
- once MoManager has scanned all files, i select /usr/local/pmusic/pmusic in the scripts that don't have a .mo file; and then select «create»
- at this stage, there should come a console asking for entering the translator's email adress; here it does not; and the Geanys opened pmusic.po file is empty.

I tested on the same session MoManager to create a po file using another script (i.e. precord) and it worked fine. So i do not believe my MoManager configuration to be somewhat corrupted.
I had previously cleared my session off all previous version pMusic files ... as also uninstalled pMusic-NLS.pet....??!!

The pmusic.pot i have put appart is relative to version 2.9.17; + update about «Bookark» entry.
Are there much changes in 2.9.19 that need to update the pmusic.pot from 2.9.17 ?
Thanks for any reply.

Charlie

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

failed to create .pot , .po file using pMusic-2.9.19

#1425 Post by charlie6 »

Hi Sigmund,
in addition to the above post:
I again have repeated to build the pmusic.po using MoManager, now rolling back to pMusic-2.9.10.pet (yes 2.9.ten), and this worked fine on the very same dpup-squeeze session.
I got
- rxvt console asking for entering translator's email-adress; once done I got
- pmusic.pot, and .po, as also .mo files build !

Re-doing the same,this time,using pMusic-2.9.19.pet:
- uninstall pMusic-2.9.10 and all-pmusic-related-relief files;
- reboot;
- install pMusic-2.9.19.pet
- start MoManager and select /usr/local/pmusic/pmusic script and then 'create'

result:
- again no success; just a white rxvt console displayed about 0.3 sec and straight closed;
- no pmusic.po nor .pot created;

I did the same using pMusic-2.9.17 ==> no success; so the pmusic.pot reported in my above post could be rather from an anterior version of pMusic, perhaps well pMusic-2.9.15.

Cheers, Charlie

User avatar
Tote
Posts: 237
Joined: Thu 19 Jan 2012, 07:53
Location: South Wales

#1426 Post by Tote »

Hi Zigbert, I just installed Pmusic 2.9.19 on latest Precise Retro 541 and I noticed when I click VIEW there is only the 'now playing' option to select where on the previous versions of Pmusic ( I think) there were Classic, low powered, manager, wings, etc. Is that how it should be or am I doing something wrong?

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

fix for gettext

#1427 Post by rodin.s »

I guess I know how to fix gettext in pMusic. It is func_progressbar again. It's strange thing but comments between lines 104 and 106 should be deleted and then gettext works and po-file is created in MoManager.

Code: Select all

else  
echo "$(gettext 'Source not detected')" > $WORKDIR/statusbar
echo "$(($(<$WORKDIR/statusbar_error)+1))" > $WORKDIR/statusbar_error

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#1428 Post by charlie6 »

Hi rodin,
thanks a lot !
using 2.9.19;
here have uncommented lines 104 and 108;
MoManager build nice .po, .pot and .mo files.

Afterwards have again commented lines 104 and 108.
Cheers, Charlie

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

#1429 Post by zigbert »

sheldonisaac
I have fixed the 'download webmusic index' issue


Thank you
Sigmund

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

#1430 Post by zigbert »

Tote wrote:Hi Zigbert, I just installed Pmusic 2.9.19 on latest Precise Retro 541 and I noticed when I click VIEW there is only the 'now playing' option to select where on the previous versions of Pmusic ( I think) there were Classic, low powered, manager, wings, etc. Is that how it should be or am I doing something wrong?
As pMusic improves, I find it less important to offer alternative frontends.... Of course, you can still run pMusic with the Wings frontend, but you have to download it and set it as default in the preferences. Note that there is a www-button beside the frontend-chooser which lead you to the frontend homepage.

The best would be to skip the View menu, but I haven't figured out where to place 'Now Playing'.


Sigmund

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

#1431 Post by zigbert »

Regarding gettext trouble

It is no problem for me to remove the commented lines, but this doesn't seem to be a pmusic bug..... I can't see any gettext related syntax in those lines.


Sigmund


edit
I have edited func_progressbar, and those lines look now like this. Hopefully ok?

Code: Select all

				else  #file/CD-track doesn't exist.
					echo "$(gettext 'Source not detected')" > $WORKDIR/statusbar
					echo "$(($(<$WORKDIR/statusbar_error)+1))" > $WORKDIR/statusbar_error
				fi

User avatar
Tote
Posts: 237
Joined: Thu 19 Jan 2012, 07:53
Location: South Wales

#1432 Post by Tote »

Thank you, I've got it now. Easy when you know how.

(You could swap Now Playing for View, do away with the drop-down menu for View altogether.)

Thank you for this pet, it's excellent!

rodin.s
Posts: 344
Joined: Wed 22 Sep 2010, 19:50
Location: Ukraine

RC11 testing

#1433 Post by rodin.s »

I want to add that on my computer RC11 works pretty well even with trackinfo and songs database enabled.

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

Re: RC11 testing

#1434 Post by zigbert »

rodin.s wrote:I want to add that on my computer RC11 works pretty well even with trackinfo and songs database enabled.
This is good news.
I enable trackinfo by default (or????)

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

Re: RC11 testing

#1435 Post by sheldonisaac »

zigbert wrote:
rodin.s wrote:I want to add that on my computer RC11 works pretty well even with trackinfo and songs database enabled.
This is good news.
I enable trackinfo by default (or????)
Yes, I have the
108174 2012-11-10 15:08 /mnt/sda2/sources/pmusic-2.9.19.pet
and like it.

I can't seem to make the radio grabbing work, although in the past it did.
Doing this with the Radio-Hits grabber, recording will be running in background, and you can use pMusic as normal. See the 'Radio-Hits Setup' in the 'Music-source' menu for more info."
The dialog says things like
Pmusic - Radio Hits ::: kusc
Apply songs to db Apply and exit
May I have some advice, please?

Thanks,
Sheldon

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

#1436 Post by zigbert »

sheldonisaac
every Radio-Hits entry has a config file in you data storage. If you haven't changed it the default place would be /root/.pmusic/radio-hits preset/

Can you show me the content the not-working 'file'

What Puppy are you running?

What about a screenshot if errors shows up...


Sigmund

sheldonisaac
Posts: 902
Joined: Mon 22 Jun 2009, 01:36
Location: Philadelphia, PA

#1437 Post by sheldonisaac »

zigbert wrote:sheldonisaac
every Radio-Hits entry has a config file in you data storage. If you haven't changed it the default place would be /root/.pmusic/radio-hits preset/

Can you show me the content the not-working 'file'

What Puppy are you running?

What about a screenshot if errors shows up...
Good morning, Sigmund; thank you for such a quick response.

I just looked in /root/.pmusic/radio-hits preset/
There are several files there; one of them is
/root/.pmusic/radio-hits preset/kusc

The contents are
kusc|/mnt/sda3/pmm|http://kuscstream.org/mp3/kusc128.m3u

This Puppy is Lucid Puppy 5.28

I will try to learn how to do screenshot.

At present, the directory of

/mnt/sda3/pmm/

includes
4096 2012-11-14 11:06 incomplete
5641679 2012-11-14 11:06 Wolfgang Amadeus Mozart - String Quartet in D major K575- IV. Allegretto.mp3
8164481 2012-11-14 11:00 Wolfgang Amadeus Mozart - Symphony No. 39 in E flat major KV 543- IV. Allegro.mp3
2298424 2012-11-14 10:51 Peter Tschaikowsky - Nussknacker Op.71-Marsch.mp3
3382192 2012-11-14 10:49 Antonio Vivaldi - Concerti da Camera-Concerto in G minor RV103 II. Largo.mp3
7834293 2012-11-14 10:45 Wolfgang Amadeus Mozart - Piano Concerto No. 17 in G major K453- III. Allegretto, presto.mp3
So is it correct that I should not click on either of the dialog's 'apply' buttons?

When if ever should I click, and which one, or both?

Thank you,
Sheldon
Attachments
dialog-2.png
(17.41 KiB) Downloaded 498 times

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

#1438 Post by zigbert »

sheldonisaac
I tested the KUSC radio url, and found it stopped playing after a few seconds. I wonder if you can play it? I then picked http://www.swissradio.ch/streams/6034.m3u which I use for Classical, and it plays fine here....

Your Radio-Hits setup seems correct.

For screenshot, you'll find the utility in the graphics menu (Puppy menu).

When it comes to the 2 buttons, I see that they are not self-explaining. When you're satisfied with the grabbing, you should Exit. The grab result will then be added to your pMusic database which updates at every pMusic action. If you want to search within the latest grabbed tracks without stop grabbing, you use the Apply button, and the database will update..... I agree, this could be easier.


Sigmund





Download pMusic 3 - RC11 here
Last edited by zigbert on Wed 14 Nov 2012, 17:12, edited 1 time in total.

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

#1439 Post by zigbert »

sheldonisaac
Would these button labels be more informative?

Image



Download pMusic 3 - RC11 here

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

#1440 Post by zigbert »

below 1Mb
Even a norwegian can hear than this doesn't sound good.....

Image


Download pMusic 3 - RC11 here

Post Reply