Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Thu 17 Apr 2014, 23:10
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pMusic 4.2.8
Post new topic   Reply to topic View previous topic :: View next topic
Page 84 of 120 [1793 Posts]   Goto page: Previous 1, 2, 3, ..., 82, 83, 84, 85, 86, ..., 118, 119, 120 Next
Author Message
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 3075
Location: Ontario

PostPosted: 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
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3075
Location: Ontario

PostPosted: 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
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 3075
Location: Ontario

PostPosted: 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? Laughing )
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
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: Tue 24 Jul 2012, 15:16    Post subject:  

don570 wrote:
I don't understand how pmusic works (Isn't it obvious? Laughing )
Even that I am the one that has written the codelines, I don't always get it myself Laughing 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
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 3075
Location: Ontario

PostPosted: 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
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
sheldonisaac

Joined: 21 Jun 2009
Posts: 384
Location: Philadelphia, PA

PostPosted: 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
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3075
Location: Ontario

PostPosted: 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
View user's profile Send private message 
don570


Joined: 10 Mar 2010
Posts: 3075
Location: Ontario

PostPosted: 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
View user's profile Send private message 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
zigbert


Joined: 29 Mar 2006
Posts: 5562
Location: Valåmoen, Norway

PostPosted: 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
View user's profile Send private message Visit poster's website 
don570


Joined: 10 Mar 2010
Posts: 3075
Location: Ontario

PostPosted: 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
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 84 of 120 [1793 Posts]   Goto page: Previous 1, 2, 3, ..., 82, 83, 84, 85, 86, ..., 118, 119, 120 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1073s ][ Queries: 13 (0.0323s) ][ GZIP on ]