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 Fri 24 Oct 2014, 12:39
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Multimedia
pMusic 4.4.2
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 3 of 123 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, ..., 121, 122, 123 Next
Author Message
markofkane


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

PostPosted: Sat 12 Jul 2008, 10:49    Post_subject:  

ttuuxxx wrote:
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


Didn' t work. Sad
Back to top
View user's profile Send_private_message 
zigbert


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

PostPosted: Sat 12 Jul 2008, 11:37    Post_subject:  

DreamsToGo
Wonderful report.
Can you give us some futher help....PLEASE?

Since hello4 showed up, it means that process continued to the 'playing' function. You'll find it in the same /usr/local/pmusic/func, but now section '-playing)'. Some hellos here too could hopefully detect the trouble.

Thanks a lot
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
DreamsToGo


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

PostPosted: Sat 12 Jul 2008, 12:27    Post_subject:  

OK, system hang after hello8, I do not get hello9 and hello10

-playing)
xmessage hello5
SS=`cat $WORKDIR/pmusic-SS`
PLAYLIST="`cat $WORKDIR/pmusic-PLAYLIST`"
cat $WORKDIR/pmusic-playlist | grep "$PLAYLIST" > $WORKDIR/pmusic-TREE_ITEM #holds all coloums
##### add to index #####
xmessage hello6
if [ "$PLAYLIST" ]; then #iso 8859-1 sometimes break $PLAYLIST
#add to index_recent
if [ ! "`tail -n 1 $HOME/.pmusic/index_recent | grep "$PLAYLIST"`" ]; then
cat $HOME/.pmusic/index_alphabetic | grep -w "$PLAYLIST" >> $HOME/.pmusic/index_recent
fi
#add to index_most_played
if [ "`cat $HOME/.pmusic/index_most_played | grep -w "$PLAYLIST"`" ]; then
NR="`cat $HOME/.pmusic/index_most_played | grep -w "$PLAYLIST" | cut -d '|' -f 1`"
TMP="`cat $HOME/.pmusic/index_most_played | grep -w "$PLAYLIST" | cut -d '|' -f 2-`"
NR_NEW=`expr $NR + 1`
sed -i -e "s%$NR|$TMP%$NR_NEW|$TMP%g" $HOME/.pmusic/index_most_played #increase by 1
else
TMP="`cat $HOME/.pmusic/index_alphabetic | grep -w "$PLAYLIST"`"
echo "10001|$TMP" >> $HOME/.pmusic/index_most_played
fi
fi
######
xmessage hello7
echo false > $WORKDIR/pmusic-stop #if stopped it shouldn't start next
echo -e "\c" > $WORKDIR/pmusic-ffmpeg_output
xmessage hello8
ffmpeg -i "$PLAYLIST" -ss $SS -f au - 2>> $WORKDIR/pmusic-ffmpeg_output | aplay
#loop until ffmpeg is finnished
while [ "`cat $WORKDIR/pmusic-ffmpeg_output | wc -c`" != "$OLD_WC" ]; do #ffmpeg is working
OLD_WC=`cat $WORKDIR/pmusic-ffmpeg_output | wc -c`
sleep 1
done
xmessage hello9
#run next song in playlist
if [ "`cat $WORKDIR/pmusic-stop`" = "false" ]; then $APPDIR/func -next; fi
xmessage hello10
;;
Back to top
View user's profile Send_private_message 
zigbert


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

PostPosted: Sat 12 Jul 2008, 12:28    Post_subject:  

Discussion

Are you one of those who collects mp3s in directory structure like /Artist/Album/Song.mp3. I have a suggestion of how to 'index' content of directories: During indexing, pmusic can make playlists of content of every directory. If we name these playlists with name-of-directories.pmd, they will show up in index list, but not interfere with the standard m3u files.

I use here an example of the well known band 'Puppies' and their album 'The Kennel'. The mp3s are saved in /private/music/Puppies/The Kennel/*mp3.
There are several models:
1. User indexes the directory /private/music/, so Pmusic will use this as its startpoint. Every music file in /private/music/Puppies/The Kennel/ are applied to the playlist 'Puppies - The kennel.mpd'. This gives a nice overview of your music, but it's easy to see what happens when user indexes / to find all music on system.... The name 'Private - Music - Puppies - The Kennel' is not what we want.
2. A simpler model is to just accept directories that contains music files. We will never get strange names, but our songs from The Puppies album will only be named with 'The kennel.mpd'
3. As nr 1, but now with the option to define how deep Pmusic should dig in the directory structure. This would give a more flexible indexing, but also a lot harder to understand for an average user who don't like talking about file structure at all.
4. So maybe the most logical solution would be to simply include a 'Add all' button in the open-dialog.
5. Or maybe you got some better ideas...

Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
zigbert


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

PostPosted: Sat 12 Jul 2008, 12:33    Post_subject:  

DreamsToGo
What if you now change the hello8 with

xmessage "$PLAYLIST" $SS

???

Thanks
Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
zigbert


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

PostPosted: Sat 12 Jul 2008, 14:00    Post_subject:  

DreamsToGo
If $PLAYLIST and $SS keeps any value (and I guess they do), Please try another way to start ffmpeg.

Code:
echo "exec ffmpeg -i \"$PLAYLIST\" -ss $SS -f au - 2>> $WORKDIR/pmusic-ffmpeg_output | aplay" > $WORKDIR/pmusic-exec
chmod 700 $WORKDIR/pmusic-exec
. $WORKDIR/pmusic-exec &
This replaces the ffmpeg-line after hello8
_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
HairyWill


Joined: 26 May 2006
Posts: 2949
Location: Southampton, UK

PostPosted: Sat 12 Jul 2008, 14:49    Post_subject:  

zigbert wrote:
1. User indexes the directory /private/music/, so Pmusic will use this as its startpoint. Every music file in /private/music/Puppies/The Kennel/ are applied to the playlist 'Puppies - The kennel.mpd'. This gives a nice overview of your music, but it's easy to see what happens when user indexes / to find all music on system.... The name 'Private - Music - Puppies - The Kennel' is not what we want.

why not only keep the current directory name and its parent, ie piping your example through ie
Code:
echo "/root/music/puppy lovers/alpha 7/my dog.mp3" | sed 's/.*\(\/.*\/.*\/.*\)/\1/;s/\///;s/\// - /g;'
 - puppy lovers - alpha 7 - my dog.mp3

_________________
Will
contribute: community website, screenshots, puplets, wiki, rss
Back to top
View user's profile Send_private_message 
Taavi

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

PostPosted: Sat 12 Jul 2008, 15:28    Post_subject:  

Hi,

I don't know about ffmpeg's difficulties with flac. I got all my flacs also in mp3 files so I could try Pmusic. After some tries it did index my about 7000 mp3 files. Pmusic freezes occasionally my machine but not if I run it from commandline. On the first run Pmusic didn't read metatags of mp3's. But then I noticed error message with libstdc++.so.6. I managed to repair this: libstdc++.so.6 was symlinked to libstdc++.so.6.0.8 and I changed it to point to libstdc++.so.6.0.9. I updated index and Pmusic read metatags right.

I understood that you don't see much value in metatags in musicfiles. I still suggest feature to sort songs by metatags. For example by artist(performer) and title. In flac files there is standard tags for forexample composer, lyricist, arranger and so on. I think it's more important to know the composer of the song as the artist. Especially in classical music. But because I know so little of programming, I don't know how difficult it is to built.

I've used Madman music manager and Wxmusic but didn't really like them. I've tried some java based managers but didn't really like any of them. Pmusic looks like it's gonna be the one.
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, 17:01    Post_subject:  

I think I'll try it again, (install, because I am on a fresh puppy install)

I'll see if it will at least play a song. Cool

Edit: Importing a song to play in pmusic locked up my computer.(I had to used the power button to turn ot off!!!) I was importing from hdb1 Hard-drive,

That does it for me. Rolling Eyes
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: Sun 13 Jul 2008, 00:47    Post_subject:  

zigbert wrote:
DreamsToGo
What if you now change the hello8 with

xmessage "$PLAYLIST" $SS

???

Thanks
Sigmund


Sigmund,

I did this test. $PLAYLIST shows the song path and name, $SS=0

Hilary
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: Sun 13 Jul 2008, 00:51    Post_subject:  

zigbert wrote:
DreamsToGo
If $PLAYLIST and $SS keeps any value (and I guess they do), Please try another way to start ffmpeg.

Code:
echo "exec ffmpeg -i \"$PLAYLIST\" -ss $SS -f au - 2>> $WORKDIR/pmusic-ffmpeg_output | aplay" > $WORKDIR/pmusic-exec
chmod 700 $WORKDIR/pmusic-exec
. $WORKDIR/pmusic-exec &
This replaces the ffmpeg-line after hello8


Sigmund

That worked! Song added and played.

Hilary
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: Sun 13 Jul 2008, 01:03    Post_subject:  

zigbert wrote:
Discussion

Are you one of those who collects mp3s in directory structure like /Artist/Album/Song.mp3. I have a suggestion of how to 'index' content of directories: During indexing, pmusic can make playlists of content of every directory. If we name these playlists with name-of-directories.pmd, they will show up in index list, but not interfere with the standard m3u files.

I use here an example of the well known band 'Puppies' and their album 'The Kennel'. The mp3s are saved in /private/music/Puppies/The Kennel/*mp3.
There are several models:
1. User indexes the directory /private/music/, so Pmusic will use this as its startpoint. Every music file in /private/music/Puppies/The Kennel/ are applied to the playlist 'Puppies - The kennel.mpd'. This gives a nice overview of your music, but it's easy to see what happens when user indexes / to find all music on system.... The name 'Private - Music - Puppies - The Kennel' is not what we want.
2. A simpler model is to just accept directories that contains music files. We will never get strange names, but our songs from The Puppies album will only be named with 'The kennel.mpd'
3. As nr 1, but now with the option to define how deep Pmusic should dig in the directory structure. This would give a more flexible indexing, but also a lot harder to understand for an average user who don't like talking about file structure at all.
4. So maybe the most logical solution would be to simply include a 'Add all' button in the open-dialog.
5. Or maybe you got some better ideas...

Sigmund


Sigmund,

From our previous discussions, I prefer option 4.
I just want to be able to select a directory, click add-all and ALL the songs in that directory and any subdirectories get added to the list.
Note that directories will contain files that are not music, eg album covers.

I don't use playlists, so I don't want my system cluttered up with them, and I'm not interested in indexing the collection. With the Library/Artist/Album directory structure it is already indexed and a directory is in effect a playlist.. I don't use tags either. I rarely, if ever, mix up music from different artists.
Back to top
View user's profile Send_private_message 
zigbert


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

PostPosted: Sun 13 Jul 2008, 06:55    Post_subject:  

version 0.1.2 is uploaded
See main post

I have included an 'add all' button in the open dialog. This doesn't mean we also can index the directories. I want to hear your opinion. Here's my initial discussion post:

########################################

Discussion

Are you one of those who collects mp3s in directory structure like /Artist/Album/Song.mp3. I have a suggestion of how to 'index' content of directories: During indexing, pmusic can make playlists of content of every directory. If we name these playlists with name-of-directories.pmd, they will show up in index list, but not interfere with the standard m3u files.

I use here an example of the well known band 'Puppies' and their album 'The Kennel'. The mp3s are saved in /private/music/Puppies/The Kennel/*mp3.
There are several models:
1. User indexes the directory /private/music/, so Pmusic will use this as its startpoint. Every music file in /private/music/Puppies/The Kennel/ are applied to the playlist 'Puppies - The kennel.mpd'. This gives a nice overview of your music, but it's easy to see what happens when user indexes / to find all music on system.... The name 'Private - Music - Puppies - The Kennel' is not what we want.
2. A simpler model is to just accept directories that contains music files. We will never get strange names, but our songs from The Puppies album will only be named with 'The kennel.mpd'
3. As nr 1, but now with the option to define how deep Pmusic should dig in the directory structure. This would give a more flexible indexing, but also a lot harder to understand for an average user who don't like talking about file structure at all.
4. So maybe the most logical solution would be to simply include a 'Add all' button in the open-dialog.
5. Or maybe you got some better ideas...

Sigmund

_________________
Stardust resources
Back to top
View user's profile Send_private_message Visit_website 
ttuuxxx


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

PostPosted: Sun 13 Jul 2008, 07:57    Post_subject:  

markofkane wrote:
ttuuxxx wrote:
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


Didn' t work. Sad


Have you tried to reinstall the original seamonkey overtop ?
http://www.puppylinux.ca/puppyfiles/pet_packages-4/seamonkey-1.1.8-no_mailnews.pet

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_website 
DreamsToGo


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

PostPosted: Sun 13 Jul 2008, 08:33    Post_subject:  

Sigmund,

Thanks for the updated version and the add-all button - works great, no system hangs either.

Don't forget to change the version number in the title window and help sections!

Hilary
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 3 of 123 Posts_count   Goto page: Previous 1, 2, 3, 4, 5, ..., 121, 122, 123 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:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


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