The time now is Thu 19 Apr 2018, 16:06
All times are UTC - 4 |
Page 89 of 153 [2290 Posts] |
Goto page: Previous 1, 2, 3, ..., 87, 88, 89, 90, 91, ..., 151, 152, 153 Next |
Author |
Message |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Fri 02 Nov 2012, 01:01 Post subject:
|
|
zigbert wrote: | Mick
The tooltips in pEqualizer is fixed - version 0.8.2
Download pMusic 3 - Beta2 here |
yep, saw that
I do have a strange issue after I index my files.Not too many on this disc, maybe 15 albums. Best to see the pic. I played the AC/DC file by clicking on it so that is why that one is there I guess.
BTW, that is after clicking Music sources >> My Music >> My Tracks
Description |
|
Filesize |
57.56 KB |
Viewed |
504 Time(s) |

|
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Fri 02 Nov 2012, 01:34 Post subject:
|
|
Mick
No good
How does you index file look? - /root/.pmusic/index_mymusic (or where you have pointed the data storage).
The numbers are timestamps that are written to index file when song is completed. I see that pMusic is wrinting to index file even if song is NOT in index.
I have added an extra check in func_player line 232
Code: | if grep false $WORKDIR/stop > /dev/null && ! grep -F 'error' $WORKDIR/aplay_error; then
#RATING: User has listen through the complete song, add to rating index
TMP="`grep -F "${PLAYLIST}|" "$STORAGE_DIR/index_mymusic"`"
if [ "$TMP" ]; then
#place the last played track at top of index to get into Overview - see this
echo "${TMP},`date +%s`" > $WORKDIR/tmp_rating
grep -vF "${PLAYLIST}|" "$STORAGE_DIR/index_mymusic" >> $WORKDIR/tmp_rating
mv -f $WORKDIR/tmp_rating "$STORAGE_DIR/index_mymusic"
fi |
Download pMusic 3 - Beta2 here
_________________ Stardust resources
Last edited by zigbert on Fri 02 Nov 2012, 02:05; edited 1 time in total
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Fri 02 Nov 2012, 01:39 Post subject:
|
|
/root/.pmusic/index_mymusic only has the timestamps by the look. This one is a bit over my head!
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Fri 02 Nov 2012, 01:43 Post subject:
|
|
Somehow the indexing must have gone wrong. Can you try to reproduce it.
The index file contains 21 fields. ie. like this:
Code: | /mnt/home/mp3_streamripper/DMR_Metal_Canada_128/Within Temptation - Lost.mp3|Within Temptation|Lost|The Unforgiving|9|2011|||0|mp3 |128|05:05||/mnt/home/mp3_streamripper/DMR_Metal_Canada_128/Within Temptation - Lost.mp3||4e93ba92-212d-4ed4-83a8-cf520f978b88|eace2373-31c8-4aba-9a5c-7bce22dd140a|http://lyricwiki.org/Within_Temptation:Lost|/mnt/sdb1/musikk/pmusic storage/albumart/Within Temptation - The Unforgiving.jpg||,1351427237,1351427956,1351428368,1351429065,1351430480,1351431261,1351433294,1351434136,1351437287,1351637968,1351638276 |
Thank you
Sigmund
Download pMusic 3 - Beta2 here
_________________ Stardust resources
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Fri 02 Nov 2012, 02:26 Post subject:
|
|
Ok, with nothing playing, I add my music path which is /mnt/sda10/music to the gui with the + button. I delete /root and /mnt with - button (they are there by default). I index, the progress looks normal but the /root/.pmusic/index_mymusic file ends up empty. I think the file is building ok but at the finish it gets overwritten by something.
Clicking tracks and playing them adds entries to that file. Is that supposed to happen?
Radio database works normally.
Each time I am deleting /root/.pmusic so I start with a clean slate.
-----
I just stepped back to 2.9.4 and it works as expected indexing my tracks.
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Fri 02 Nov 2012, 03:14 Post subject:
|
|
Ok Mick, I am diving.
But first 2 things to mention:
The trayapp is no longer included in the pMusic pet because pMusic belongs in the noarch category - taryapp doesn't. It is available via plugins. Atm, plugin structure is simple, but that will change if we see more use of it.
The detection of correct soundcard should be less Puppy specific with this code. If content of /etc/asound.conf doesn't return any value, use the first card.
Code: | #Detect active soundcard
if [ "$SOUND_DEVICE" = "auto" ]; then
if [ -f /etc/asound.conf ]; then #see if MultipleSoundCardWizard was used
TMP=$(head -1 /etc/asound.conf)
CARD_NR=${TMP##* }
fi
if [ ! "$CARD_NR" ]; then
TMP="`aplay -l | grep -m 1 -F card`" #grab the first card
CARD_NR="`echo $TMP | cut -d':' -f1 | cut -d' ' -f2`"
fi
else
CARD_NR="`echo $SOUND_DEVICE | cut -d':' -f1 | cut -d' ' -f2`"
fi |
Download pMusic 3 - Beta3 here
_________________ Stardust resources
Last edited by zigbert on Fri 02 Nov 2012, 03:34; edited 1 time in total
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Fri 02 Nov 2012, 03:31 Post subject:
|
|
Mick
I think I got it
Download pMusic 3 - Beta3 here
_________________ Stardust resources
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Fri 02 Nov 2012, 03:35 Post subject:
|
|
pMusic 3 Beta4
Download pMusic 3 - Beta4 here
_________________ Stardust resources
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Fri 02 Nov 2012, 03:55 Post subject:
|
|
2.9.7
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Fri 02 Nov 2012, 04:37 Post subject:
|
|
Great Mick.
If you want to include tray-app in the distro just install this pet. It is the 32bit version.
Download pMusic 3 - Beta4 here
_________________ Stardust resources
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Fri 02 Nov 2012, 04:43 Post subject:
|
|
Hi Sigmund,
The tray app is already there. I have been using the separate pet throughout slacko-beta testing but since the pmusic-3 beta series started it fails to work. I didn't dive in though, it is probably something simple missing. If I start the tray app with /usr/local/pmusic/pmusic_tray I can start pmusic from the tray app..
Cheers
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Fri 02 Nov 2012, 05:14 Post subject:
|
|
You must use the latest trayapp pet. Only this one is compatible with pMusic 3. All trayapp-specific code is removed in favor to the new plugin structure. The new pet contains both the tray icon and an rc file that holds plugin information.
Sigmund
Download pMusic 3 - Beta4 here
_________________ Stardust resources
|
Back to top
|
|
 |
01micko

Joined: 11 Oct 2008 Posts: 8670 Location: qld
|
Posted: Fri 02 Nov 2012, 05:54 Post subject:
|
|
Ok, apologies.. I got the pet but there is still a problem. The icon doesn't show for me. It seems it ignores the rc file for icon path as it's hard coded in the C source to /usr/local/pmusic/pmusic20.png Code: | pmusic_pixbuf=gdk_pixbuf_new_from_file("/usr/local/pmusic/pmusic20.png",&gerror); |
Ok.. that file exists.. but it is a broken symlink to somewhere on your system! Code: | # readlink pmusic20.png
/mnt/sdb1/prioritet 1/privat/prg/bash/pmusic/plugins/pmusic_tray-0.1-x86_32/usr/share/icons/hicolor/22x22/apps/pmusic.png |
so... I'll make a link to a relative icon and see how it goes (will work then)
_________________ Puppy Linux Blog - contact me for access
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Fri 02 Nov 2012, 06:01 Post subject:
|
|
>>> <<<
Fixed link and uploaded again
Download pMusic 3 - Beta4 here
_________________ Stardust resources
Last edited by zigbert on Fri 02 Nov 2012, 06:06; edited 1 time in total
|
Back to top
|
|
 |
zigbert

Joined: 29 Mar 2006 Posts: 6541 Location: Valåmoen, Norway
|
Posted: Fri 02 Nov 2012, 06:05 Post subject:
|
|
The trayapps are compiled in Slacko (32bit) and Fatdog (64bit). I have assumed that they will work also in other systems. You know the compiling world - can it work?
Sigmund
Download pMusic 3 - Beta4 here
_________________ Stardust resources
|
Back to top
|
|
 |
|
Page 89 of 153 [2290 Posts] |
Goto page: Previous 1, 2, 3, ..., 87, 88, 89, 90, 91, ..., 151, 152, 153 Next |
|
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
|