| Author |
Message |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Wed 18 Jul 2012, 16:16 Post subject:
Re: drag'n drop |
|
| shinobar wrote: | | I hope folder button and clear button at the search box, like the ffconvert has. | I am sorry to say that you most likely will not find such buttons in the default frontend of Pmusic.
Why?
Because Pmusic's main target is to be a simple audioplayer/musicmanager for newbies, and I personally think the main-gui should be as clean as possible. The gui-challenge of a complex program like Pmusic is that everyone should immediately understand how stuff works. In general, that means I must compromise with the availability of features. Many features are placed deeper inside the Pmusic environment, like in a menu or a external window. This is my very personal opinion. It is clear to me that others have a different opinion when I look at how they build their guis.
Best wishes
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2465 Location: Ontario
|
Posted: Sat 21 Jul 2012, 16:13 Post subject:
|
|
I've created a right click app to help in the making of a play list.
Forum member stu90 helped with the 'find' code.
The concept is simple. Quickly make an m3u file. Then make
a pmusic playlist from the m3u file. The instructions are on site.
http://www.murga-linux.com/puppy/viewtopic.php?p=641955#641955
_____
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2465 Location: Ontario
|
Posted: Mon 23 Jul 2012, 19:45 Post subject:
|
|
Note to Zigbert:
When I wrote create-m3u I was hoping that I could do the entire process
of making a Pmusic playlist in one simple step.
Is that possible??
I wrote the script so that it would be easy to modify the script
by removing the exit command and adding code at end of script
to convert the m3u file located in /root to a pmusic playlist.
Wouldn't it be easy for you to write the code. Just check for
blank playlists and add the song titles to a blank list. Is it more
difficult than that??
..and when pmusic is first installed or launched shouldn't it create all
the playlist files in the hidden config folder. That way it would
be easy to determine if a playlist is blank or not. All I see now
are playlists that have been previously created.
_______________________________________
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Tue 24 Jul 2012, 14:01 Post subject:
|
|
don570
I don't exactly understand what you mean I should do. What do you need blank playlists for? I will consider all patches to meet your request. If you need specific knowledge, I will share what I know...
I must admit, I haven't looked at your code and not tested the m3u-creator. I use the builtin browser in pmusic to build my playlists, but it is clear that others like it to do it other ways.
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2465 Location: Ontario
|
Posted: Tue 24 Jul 2012, 14:25 Post subject:
|
|
I need to 'see' a playlist to check if it is empty or if it's easier for you
----> make a configuration file in root/.pmusic that lists the playlists
that are unused by user. Then there would have to be a way for
an independent program to build a pmusic playlist and get pmusic
to recognize it when launching.
Another idea ---> Perhaps you could put a folder
in /root/.pmusic called Third_party_playlists where any
independent program could put a pmusic playlist and pmusic
would (at launch) recognize the playlist and try to show it in the
window and begin playing it if there are still empty pmusic playlist slots available.
I don't understand how pmusic works (Isn't it obvious? )
so you'll have to design a procedure to allow the adding of playlist
and document it. The idea is to do the work behind the
scenes so the user needs to interact as little as possible.
___________________________________________________
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Tue 24 Jul 2012, 15:16 Post subject:
|
|
| don570 wrote: | I don't understand how pmusic works (Isn't it obvious? ) | Even that I am the one that has written the codelines, I don't always get it myself In addition to the configs in /root/.pmusicrc the files /root/.pmusic/tmp holds different in info of status and options. It is only around 150 files, so how hard can that be.....
To play a m3u file in Pmusic the command is | Code: | | pmusic /path/file.m3u |
Pmusic has 9 different running playlists. The content of each list is defined in /root/.pmusic/playlist[1-9].
Which one of these list is active is set in /root/.pmusic/playlist1234
Content of active list is found in /root/.pmusic/playlist
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Fri 27 Jul 2012, 08:40 Post subject:
|
|
Version 2.6.4
See main post
Changelog
- Bugfix: There is 2 LOC2913 (thanks to esmourguit)
- Bugfix: Minor alignment in pmusic --help
- Bugfix: Radiohits: When choosing an predefined preset, check if 'download dir' is saved.
- NLS: Added: LOC2914
- NLS: Changed: LOC302, 617
_________________ Stardust resources
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2465 Location: Ontario
|
Posted: Sat 28 Jul 2012, 15:43 Post subject:
|
|
I think I found a bug or is it a feature?
The situation: the name of a m3u playlist has an underscore in it
and there's only one song on the list.
I use the following command to bring the song(s) into pmusic....
| Code: | | pmusic /path/to/m3u_file |
which in my example is
| Code: | | pmusic /root/Wor_k.3mu |
The songlist has the m3u file name rather than song name.
I was using my app create-m3u.
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Sat 28 Jul 2012, 17:07 Post subject:
|
|
I tried to reproduce this by making my own /root/pmu_sic.m3u (with one track), but things worked as expected. Could you list the content of the m3u.
My looks like this
| Code: |
#EXTM3U
#EXTINFO:191,Ræva rockers - Depp
/mnt/sdb1/musikk/mp3/Ræva Rockers - Depp (LP).mp3 |
_________________ Stardust resources
|
|
Back to top
|
|
 |
sheldonisaac
Joined: 21 Jun 2009 Posts: 287 Location: Philadelphia, PA
|
Posted: Sat 28 Jul 2012, 17:33 Post subject:
|
|
| zigbert wrote: | I tried to reproduce this by making my own /root/pmu_sic.m3u (with one track), but things worked as expected. Could you list the content of the m3u.
My looks like this
| Code: |
#EXTM3U
#EXTINFO:191,Ræva rockers - Depp
/mnt/sdb1/musikk/mp3/Ræva Rockers - Depp (LP).mp3 |
|
Hi, I tried | Code: | | pmusic ./A_test.m3u |
and it played the music.
content of ./A_test.m3u is
| Code: |
#EXTM3U
#EXTINF:0,Windows XP Start
/mnt/sda5/sources/grieg-12-1-breemer.mp3
|
I don't know what this part means:
#EXTM3U
#EXTINF:0,Windows XP Start
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2465 Location: Ontario
|
Posted: Wed 01 Aug 2012, 20:36 Post subject:
|
|
I found the problem in create-m3u. The format of the m3u file is important
when loading with a script.
I followed stu90's method of putting both name followed by
the entire path and now there is no problem.
________________________________________________
There are still some bugs but it mostly works
when I tried it in Lucid Puppy528 (JP) pmusic 2.6.2
Try http://murga-linux.com/puppy/viewtopic.php?p=643997#643997
However I did find a strange bug in pmusic.
If the m3u file that is loaded is deleted directly afterwards
then pmusic won't load the playlist . So code like this
won't work properly, but it was easy enough to
work around.
| Code: | pmusic /tmp/create-m3u/"$NAME.m3u" &
rm -f /tmp/create-m3u/"$NAME.m3u" |
___________________________________
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2465 Location: Ontario
|
Posted: Thu 02 Aug 2012, 18:48 Post subject:
inconsisten behaviour |
|
I discovered that the other music players that puppy uses
can open m3u playlists as well, so I made some changes
in version 1.3.
However one problem left ---> pmusic will play the
playlist in background but sometimes it doesn't launch it's window.
The other music players don't have this problem.
Will you look into this inconsistent behaviour.???
____________________________________________
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Fri 03 Aug 2012, 15:18 Post subject:
|
|
| don570 wrote: | However I did find a strange bug in pmusic.
If the m3u file that is loaded is deleted directly afterwards
then pmusic won't load the playlist . | I don't know if I got you right, but I understand it like this:
1. load the m3u into Pmusic
2. delete the m3u-file
3. try to play tracks (from the m3u) in Pmusic.
I tested this, and it works as expected here.
Anything more I should know?
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 5241 Location: Valåmoen, Norway
|
Posted: Fri 03 Aug 2012, 15:21 Post subject:
Re: inconsisten behaviour |
|
| don570 wrote: | However one problem left ---> pmusic will play the
playlist in background but sometimes it doesn't launch it's window | Aren't there any signs of when it fails, and when it works?
I is hard to dive into a complete darkness....
Sigmund
_________________ Stardust resources
|
|
Back to top
|
|
 |
don570

Joined: 10 Mar 2010 Posts: 2465 Location: Ontario
|
Posted: Sat 04 Aug 2012, 16:23 Post subject:
|
|
| Quote: | | Aren't there any signs of when it fails |
Pmusic never launches the first time I try create-m3u.
That much I know for sure. It's very erradic.
I'll continue to use it and maybe I'll stumble across something.
________________________________________________
|
|
Back to top
|
|
 |
|