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 Sun 23 Nov 2014, 06:18
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pMusic 4.4.6
Post new topic   Reply to topic View previous topic :: View next topic
Page 2 of 124 [1856 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 122, 123, 124 Next
Author Message
DreamsToGo


Joined: 27 Jan 2006
Posts: 117
Location: Castelnaudary, south France, World Capital of Cassoulet

PostPosted: Fri 11 Jul 2008, 09:42    Post subject:  

Zigbert,

1) No, it doesn't happen everytime but most times, ie 95% of the time and always in the file selection dialog from whichever dialog that is started from. I just tested some more and I can reproduce it,

- open Pmusic
- select file, new - clear playlist
- select file
- select open song/playlist
- navigate to music collection
- select file
- press add
- it locks

If there is a song already in the playlist and you do the above without the new option it works OK.

2) Would it be possible to have the file selection dialog open at my mymusic library folder instead of at /usr/local/pmusic. I suggest that you add a preference for the start folder.

3) What I would like to be able to do, is navigate to a directory, click on it and it adds the songs in it to the playlist. The directory clicked on may contain sub-directories (for albums) of other songs too and these should be added too. This way, I can,

click on an artist and all songs in all albums for that artist are added or,
click on an album and all songs for that album are added.

I'm using 403 as frugal install.

Let me know if I can help more.
Back to top
View user's profile Send private message 
magerlab

Joined: 08 Jul 2007
Posts: 731

PostPosted: Fri 11 Jul 2008, 10:33    Post subject:  

unfortunatelly i can not test pmusic 'cause i get x-sever frozen when i try to add a song Sad ( in puppy 3)

our russian team member farwater wrote a very tiny player maddog wich is very good for older machines
but the interface is in russian so it nneds to be translated and then i think we'll upload it here

_________________
skype: desafimager
Back to top
View user's profile Send private message 
Taavi

Joined: 10 Mar 2006
Posts: 146
Location: Suomi, Finland

PostPosted: Fri 11 Jul 2008, 15:10    Post subject:  

Thanks from me too. Looks like I can stop searching and trying music managers. Many of those are nice and beautiful and filled with extreme features and does everything you can imagine except play or manage your music.

I have lot of tagged flacs in directories like performer/album/ I'll try Pmusic with them tomorrow, so I'll see how long it takes from Pmusic to index them.

Thanks again for all your work you do to give us tiny working programs.

Taavi
Back to top
View user's profile Send private message 
mdisaster2

Joined: 22 Dec 2006
Posts: 107
Location: Rome, Italy

PostPosted: Fri 11 Jul 2008, 18:36    Post subject:  

Tested with Puppy 4.0 under Virtualbox.

I did have the crashes while trying to open a song, but the second time when I restarted X the song was in the player, and after that everything went fine (I only tried out three songs though, hardly a stress test).


Suggestions:
- keep window height < 440 so Pmusic will fit in my EeePC 701 Wink
- keep showing the name of the currently playing track even when the progress bar is disabled. Better still, optionally show numeric info (such as % complete or elapsed time vs total time, whatever is simpler) in place of the bar.
- maybe add a volume control ?


Bottom line, in my opinion Pmusic is awesome. Simple, small, and looks great !
(I always hated overcomplicated players with lots of subpixel-size controls disguised somewhere in a cheap-looking "fake CD player" interface).


Congratulations and keep up the good work !
Back to top
View user's profile Send private message 
markofkane


Joined: 03 Jul 2008
Posts: 314
Location: Kane, IL USA

PostPosted: Fri 11 Jul 2008, 23:05    Post subject:  

I might try it tomorrow. It's downloaded, but not installed. Cool Cool Cool
Back to top
View user's profile Send private message 
solid

Joined: 30 Jun 2008
Posts: 15

PostPosted: Sat 12 Jul 2008, 00:46    Post subject:  

I just tried it out today, looks great!!

I haven't run into any freezing problems, but the indexing doesn't seem to work on my computer. I am just opening individual files.

Also, even after I close the windows, the processes don't stop. The music plays without a window. Cool effect, but probably not what you wanted.

I'm using Macpup4.0 on an AMD system with 4 gigs of ram. I'll continue testing when I get the time.

Solid
Back to top
View user's profile Send private message 
markofkane


Joined: 03 Jul 2008
Posts: 314
Location: Kane, IL USA

PostPosted: Sat 12 Jul 2008, 06:20    Post subject:  

I am trying it, and I don't know if it's indexing music or not,. I just got nothing, so far. Question Question Question

It might be working now. I am not sure if it found all my music. Cool
Back to top
View user's profile Send private message 
markofkane


Joined: 03 Jul 2008
Posts: 314
Location: Kane, IL USA

PostPosted: Sat 12 Jul 2008, 07:01    Post subject:  

Won't play....froze up my computer creating playlist, and had to do a hard reboot.

None of the buttons work now. Confused

I removed it until the bugs are worked out. (It takes a lot of CPU)
Back to top
View user's profile Send private message 
markofkane


Joined: 03 Jul 2008
Posts: 314
Location: Kane, IL USA

PostPosted: Sat 12 Jul 2008, 07:10    Post subject:  

well, it messed up my computer. Now I cannot play any music. Gxine won't work anymore.

Evil or Very Mad

Edit: It might be because I updated Seamonkey, now i get the stupid:

error while loading shared libraries: libmozjs.so: cannot
open shared object file: No such file
or directory
Back to top
View user's profile Send private message 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Sat 12 Jul 2008, 07:44    Post subject:  

markofkane wrote:
well, it messed up my computer. Now I cannot play any music. Gxine won't work anymore.

Evil or Very Mad

Edit: It might be because I updated Seamonkey, now i get the stupid:

error while loading shared libraries: libmozjs.so: cannot
open shared object file: No such file
or directory


Here's your libmozjs for puppy 4.0 it will automatically install Smile
into /usr/lib/seamonkey-1.1.8/libmozjs.so
ttuuxxx
mozLib.pet
Description 
pet

 Download 
Filename  mozLib.pet 
Filesize  268.44 KB 
Downloaded  1217 Time(s) 

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
ttuuxxx


Joined: 05 May 2007
Posts: 10843
Location: Ontario Canada,Sydney Australia

PostPosted: Sat 12 Jul 2008, 07:46    Post subject:  

also sometime you have to system link all the libs from
/usr/lib/seamonkey-1.1.8/
to
/usr/lib/

basically just drag them to the up arrow and select "link (relative)"

ttuuxxx

_________________
http://audio.online-convert.com/ <-- excellent site
http://samples.mplayerhq.hu/A-codecs/ <-- Codec Test Files
http://html5games.com/ <-- excellent HTML5 games Smile
Back to top
View user's profile Send private message Visit poster's website 
markofkane


Joined: 03 Jul 2008
Posts: 314
Location: Kane, IL USA

PostPosted: Sat 12 Jul 2008, 07:53    Post subject:  

Thanks!! I'll try it. Very Happy
Back to top
View user's profile Send private message 
zigbert


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

PostPosted: Sat 12 Jul 2008, 09:45    Post subject:  

DreamsToGo
I hope you can help me some more. I follow your steps, but none of mine computers locks. So I wonder, could you open /usr/local/pmusic/func in geany and find the section -add). If you put in a new line with 'xmessage hello', it's easy to determine exactly where it hangs. If hello-box doesn't show up, Pmusic hangs before xmessage. Other info of interest would be;
- What if you use Puppy 4.00
- Change x-server
- Play a file you know have perfect quality. (wav)

To open the filedialog in a specific place, bookmarks works great. But still /usr/local/pmusic isn't the most logical place to send user. For your enhanced directory management, I'll come back to that.

ttuuxxx
Smile

Taavi
Pmusic doesn't support flac at this moment. ffmpeg -format tells that flac are supported, but I couldn't get it work. Either ffmpeg are not compiled well with Puppy, or the support aren't working. Do you know anything about this?


mdisaster2
My goal is to fit all my apps in 800x600. To support 440 we need another release made for eee or other tiny screens.

The progress bar and the name of the song is generated by the same function. You can't split those, so I'm sorry. Either name and progress, or none.

_________________
Stardust resources
Back to top
View user's profile Send private message Visit poster's website 
DreamsToGo


Joined: 27 Jan 2006
Posts: 117
Location: Castelnaudary, south France, World Capital of Cassoulet

PostPosted: Sat 12 Jul 2008, 10:28    Post subject:  

Zigbert

Just to confirm I can repeat the crash at will.

I put a few xmessage hellos in the script. I get all of them and the system hangs after hello4. I highlighted the xmessage commands to make it easier.

I'll try on a clean boot with Puppy 400. I'm using Xorg on this machine, I'll try on another with xvesa.

This hang occurs all the time when a press the add button on the file selection dialog no matter what the file format is, mp3, ogg, wav.

-add)
xmessage hello1
if [ ! "`cat $WORKDIR/pmusic-playlist`" ]; then AUTOPLAY=true; fi #if nothing in playlist, play added song.
INDEX="`echo "$INDEX" | sed -e "s/ \//\//g"`"
if [ "`echo "$INDEX" | grep -i "('$\|\.m3u$\|\.pls$\|\.{END}$ ')"`" ]; then #playlist
echo "Importing playlist..." > $WORKDIR/pmusic-splashtext
echo 0 > $WORKDIR/pmusic-splash #reset progress bar
$APPDIR/box_splash_progress &
echo "$INDEX" > $WORKDIR/pmusic-last_added_playlist
cat "$INDEX" | grep -v '#' | sed -e "s%\r%%g" > $WORKDIR/pmusic-tmp #remove metadata of playlist
#check if path is valid in playlist
echo -e "\c" > $WORKDIR/pmusic-songs_in_list
while read I; do
if [ "`echo "$I" | grep '/'`" ]; then #path exist, use path of playlist
echo "$I" >> $WORKDIR/pmusic-songs_in_list
else #no path for files in list. Use current dir
TMP="`dirname "$INDEX"`"
echo "$TMP/$I" >> $WORKDIR/pmusic-songs_in_list
fi
done < $WORKDIR/pmusic-tmp
else #single song
echo "$INDEX" > $WORKDIR/pmusic-songs_in_list
fi
SELECTION="`cat $WORKDIR/pmusic-SELECTION`"
COUNT=1
while read I; do
if [ `cat $WORKDIR/pmusic-USE_TAGS` = true ]; then #use meta info in playlist AND in index
TMP="`id3info "$I" | grep 'Lead performer' | cut -d ':' -f 2- | cut -b 2-`" #artist
TMP2="`id3info "$I" | grep 'Title' | cut -d ':' -f 2- | cut -b 2-`" #title
if [ "$TMP" ] && [ "$TMP" != " " ]; then
NAME="$TMP - $TMP2"
else #use filename
basename "`echo "$I"`" | sed -e 's/\.[^\.]*$//' > $WORKDIR/pmusic-tmp
NAME="`cat $WORKDIR/pmusic-tmp`"
fi
else #use filename
basename "`echo "$I"`" | sed -e 's/\.[^\.]*$//' > $WORKDIR/pmusic-tmp
NAME="`cat $WORKDIR/pmusic-tmp`"
fi
ffmpeg -i "$I" 2> $WORKDIR/pmusic-tmp2
LENGTH=`grep Duration $WORKDIR/pmusic-tmp2 | awk '{print $2}' | cut -d "." -f 1 | cut -d ":" -f 2-`
LINE_SELECTED="`cat $WORKDIR/pmusic-playlist | grep "$SELECTION"`"
NR=`echo "$LINE_SELECTED" | cut -d '|' -f 1`
NR=`expr $NR + 1`
if [ $ADD_AFTER_SELECTION = true ] && [ "$SELECTION" ] && [ $NR -le `cat $WORKDIR/pmusic-playlist | wc -l` ]; then #add the song after selection
LINE_NEW="|$NAME|$LENGTH|$I"
if [ "`cat $WORKDIR/pmusic-playlist | grep --before-context=1 "$LINE_SELECTED" | head -n 1 | cut -d '|' -f 2-`" != "`echo $LINE_NEW | cut -d '|' -f 2-`" ]; then #do not add same song twice
sed -i $NR\i\\"$LINE_NEW" $WORKDIR/pmusic-playlist
fi
else #add at the end of list
if [ ! "`tail -n 1 $WORKDIR/pmusic-playlist | grep "$NAME"`" ]; then #do not add same song twice
echo "|$NAME|$LENGTH|$I" >> $WORKDIR/pmusic-playlist
fi
fi
TMP=`cat $WORKDIR/pmusic-songs_in_list | wc -l`
PERCENT=`expr $COUNT \* 100 / $TMP`
echo $PERCENT > $WORKDIR/pmusic-splash #update progressbar
COUNT=`expr $COUNT + 1`
xmessage hello2
done < $WORKDIR/pmusic-songs_in_list
$APPDIR/func -update_numbering
#if nothing was previously in playlist, play added song.
xmessage hello3
if [ "$AUTOPLAY" = "true" ]; then
$APPDIR/func -stop
echo "`head -n 1 $WORKDIR/pmusic-playlist | cut -d '|' -f 4`" > $WORKDIR/pmusic-PLAYLIST
echo "`head -n 1 $WORKDIR/pmusic-playlist`" > $WORKDIR/pmusic-TREE_ITEM
$APPDIR/func -playing &
fi
xmessage hello4
echo 100 > $WORKDIR/pmusic-splash #be sure to close progress dialog
;;
Back to top
View user's profile Send private message 
DreamsToGo


Joined: 27 Jan 2006
Posts: 117
Location: Castelnaudary, south France, World Capital of Cassoulet

PostPosted: Sat 12 Jul 2008, 10:28    Post subject:  

Sorry, Double post
Last edited by DreamsToGo on Sat 12 Jul 2008, 11:09; edited 1 time in total
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 2 of 124 [1856 Posts]   Goto page: Previous 1, 2, 3, 4, ..., 122, 123, 124 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.1060s ][ Queries: 13 (0.0203s) ][ GZIP on ]