pMusic 6.0.0

Audio editors, music players, video players, burning software, etc.
Message
Author
Papy

Pmusic 4.3.8 Zigbert est le + fort

#1821 Post by Papy »

Pmusic is simply the best and will replace this poor DeaDBeef immediatly.
Zigbert iss the Puppy pet maker that we need !


DEADBEEF >> :twisted: :twisted: :twisted: :twisted: :twisted:

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

missing track after ripping

#1822 Post by charlie6 »

Hi Sigmund,
on wheezy-3.5.2.5 with above posts libs installed...
i went to use pMusic CD-audio-player to rip a cd-audio (cdda): there were 15 tracks displayed; and ripping to mp3 went well ...excepted that one of the tracks was missing (i.e. track nr. 7) although it has been displayed in the tracks list.

I retried a second time with same result.

I then tried using Pcdripper-3.9.4, a first time using the cdparanoia option ---> all tracks ripped to mp3, included track 7;
and a second time using the cdda2wav option ---> also all tracks ripped to mp3, included track 7;
I also could ony rip track 7.

The cd-audio does not seem to be damaged , no riss nor scratch ... could even say «brand new alike»! ...??? :shock:

Did someone already experiment this and maybe found an explanation or a fix?

Greetings, Charlie

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1823 Post by zigbert »

Charlie
It would be interesting to know what backend command that Pcdripper used for cdda2wav.
The pMusic command is found in /root/.pmusic/tmp/exec_copy


Sigmund

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#1824 Post by charlie6 »

Hi Sigmund,
zigbert wrote:...The pMusic command is found in /root/.pmusic/tmp/exec_copy
Here is an extract from
/root/.pmusic/tmp/exec_copy
related to track 7 record cdda2wav command:
the difference between track7 and the 14 others (cd-audio having 15 tracks in it) lays in the infos is brackets: a part of the title comes with brackets surroundig one of the infos (see code hereunder)
cdda2wav dev=/dev/sr0 -t 7 -Owav - | ffmpeg -i pipe:0 -f mp3 -ac 2 -ar 44100 -ab 192000 -id3v2_version 3 -metadata artist="Artist Name" -metadata title="Composer 5 Stücke im G, op.204 - 1. Mit Freude ("Perseverare, diabolicum")" -metadata album="Artist Name - The Complete Duo Recordings CD11" -metadata year="2012" -metadata track="7" -metadata genre="Instrumental" -y "/mnt/sdd2/0007 - Artist Name - Composer 5 Stücke im G, op.204 - 1. Mit Freude ("Perseverare, diabolicum").mp3"
Then:
1. I launched in a separate terminal the same command and got the following comments:
# cdda2wav dev=/dev/sr0 -t 7 -Owav - | ffmpeg -i pipe:0 -f mp3 -ac 2 -ar 44100 -ab 192000 -id3v2_version 3 -metadata artist="Artist Name" -metadata title="Composer 5 Stücke im G, op.204 - 1. Mit Freude ("Perseverare, diabolicum")" -metadata album="Artist Name - The Complete Duo Recordings CD11" -metadata year="2012" -metadata track="7" -metadata genre="Instrumental" -y "/mnt/sdd2/0007 - Artist Name - Composer 5 Stücke im G, op.204 - 1. Mit Freude ("Perseverare, diabolicum").mp3"
Type: ROM, Vendor 'TOSHIBA ' Model 'DVD-ROM SD-M1712' Revision '1004' MMC+CDDA
765952 bytes buffer memory requested, transfer size 524288 bytes, 4 buffers, 75 sectors
#Cdda2wav version 3.01a24_linux_3.5.2-dpup_i686_i686, real time sched., soundcard, libparanoia support
AUDIOtrack pre-emphasis copy-permitted tracktype channels
1-15 no no audio 2
Table of Contents: total tracks:15, (total time 68:58.01)
1.( 4:38.65), 2.( 4:36.10), 3.( 3:08.66), 4.( 3:16.59), 5.( 3:53.25),
6.( 4:09.00), 7.( 3:09.00), 8.( 3:59.00), 9.( 5:09.00), 10.( 2:01.40),
11.( 3:05.35), 12.( 4:17.00), 13.(10:57.32), 14.( 3:54.26), 15.( 8:42.18),

Table of Contents: starting sectors
1.( 0), 2.( 20915), 3.( 41625), 4.( 55791), 5.( 70550),
6.( 88050), 7.( 106725), 8.( 120900), 9.( 138825), 10.( 162000),
11.( 171115), 12.( 185025), 13.( 204300), 14.( 253607), 15.( 271183),
lead-out( 310351)
CDINDEX discid: dpPoJ_adgjsoOS3Z62F54dUUkRY-
CDDB discid: 0xd6102a0f
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 33339644 bytes.
recording 189.0000 seconds stereo with 16 bits @ 44100.0 Hz ->'-'...
percent_done:
0%ffmpeg version 0.8.6-6:0.8.6-1, Copyright (c) 2000-2013 the Libav developers
built on Mar 24 2013 07:20:17 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
2%[wav @ 0x8083600] max_analyze_duration reached
Input #0, wav, from 'pipe:0':
Duration: 00:03:09.00, bitrate: N/A
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
File 'diabolicum)' already exists. Exiting.

W Child exited with 7
#
Program exits at «File 'diabolicum)' already exists. Exiting.»

2. I also tried the same command line having deleted
("Perseverare, diabolicum")
and
("Perseverare, diabolicum")
results: The rip started and ended OK ! :D

3. Now what does PCDripper differ from?
Applied to the same tarck7, here is the command line using cdda2wav: it seems to left aside the infos between brackets coming with the CD-audio:
cdda2wav dev=/dev/cdrom -t 7 - | lame - --add-id3v2 --ty "2012" --tn "7" --ta "Composer 5 Stucke Im G, Op.204 - 1. Mit Freude" --tl "Artist Name - The Complete Duo Recordings CD11" --tt "Composer 5 Stucke Im G, Op.204 - 1. Mit Freude" --tg "Instrumental" --tc "cdda2wav Version 3.01a24_linux_3.5.2-dpup_i686_i686" -"b" "192" -"mj" "07-Composer_5_Stucke_Im_G,_Op.204_-_1._Mit_Freude-Composer_5_Stucke_Im_G,_Op.204_-_1._Mit_Freude".mp3
exit 0
HTH
Charlie

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1825 Post by zigbert »

Charlie
As you have found, Pcdripper uses lame for conversion, while pMusic uses ffmpeg, so it's not that easy to compare. But if I got it right, this command would work for you?

Code: Select all

# cdda2wav dev=/dev/sr0 -t 7 -Owav - | ffmpeg -i pipe:0 -f mp3 -ac 2 -ar 44100 -ab 192000 -id3v2_version 3 -metadata artist="Artist Name" -metadata title="Composer 5 Stücke im G, op.204 - 1. Mit Freude (\"Perseverare, diabolicum\")" -metadata album="Artist Name - The Complete Duo Recordings CD11" -metadata year="2012" -metadata track="7" -metadata genre="Instrumental" -y "/mnt/sdd2/0007 - Artist Name - Composer 5 Stücke im G, op.204 - 1. Mit Freude (\"Perseverare, diabolicum\").mp3" 

Thank you helping out
Sigmund

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#1826 Post by charlie6 »

Sigmund,
zigbert wrote: As you have found, Pcdripper uses lame for conversion, while pMusic uses ffmpeg, so it's not that easy to compare. But if I got it right, this command would work for you?

Code: Select all

# cdda2wav dev=/dev/sr0 -t 7 -Owav - | ffmpeg -i pipe:0 -f mp3 -ac 2 -ar 44100 -ab 192000 -id3v2_version 3 -metadata artist="Artist Name" -metadata title="Composer 5 Stücke im G, op.204 - 1. Mit Freude ("Perseverare, diabolicum")" -metadata album="Artist Name - The Complete Duo Recordings CD11" -metadata year="2012" -metadata track="7" -metadata genre="Instrumental" -y "/mnt/sdd2/0007 - Artist Name - Composer 5 Stücke im G, op.204 - 1. Mit Freude ("Perseverare, diabolicum").mp3" 
here is the result: complains about «Invalid argument»
# cdda2wav dev=/dev/sr0 -t 7 -Owav - | ffmpeg -i pipe:0 -f mp3 -ac 2 -ar 44100 -ab 192000 -id3v2_version 3 -metadata artist="Artist Name" -metadata title="Composer 5 Stücke im G, op.204 - 1. Mit Freude ("Perseverare, diabolicum")" -metadata album="Artist Name - The Complete Duo Recordings CD11" -metadata year="2012" -metadata track="7" -metadata genre="Instrumental" -y "/mnt/sdd2/0007 - Artist Name - Composer 5 Stücke im G, op.204 - 1. Mit Freude ("Perseverare, diabolicum").mp3"
Type: ROM, Vendor 'TOSHIBA ' Model 'DVD-ROM SD-M1712' Revision '1004' MMC+CDDA
765952 bytes buffer memory requested, transfer size 524288 bytes, 4 buffers, 75 sectors
#Cdda2wav version 3.01a24_linux_3.5.2-dpup_i686_i686, real time sched., soundcard, libparanoia support
AUDIOtrack pre-emphasis copy-permitted tracktype channels
1-15 no no audio 2
Table of Contents: total tracks:15, (total time 68:58.01)
1.( 4:38.65), 2.( 4:36.10), 3.( 3:08.66), 4.( 3:16.59), 5.( 3:53.25),
6.( 4:09.00), 7.( 3:09.00), 8.( 3:59.00), 9.( 5:09.00), 10.( 2:01.40),
11.( 3:05.35), 12.( 4:17.00), 13.(10:57.32), 14.( 3:54.26), 15.( 8:42.18),

Table of Contents: starting sectors
1.( 0), 2.( 20915), 3.( 41625), 4.( 55791), 5.( 70550),
6.( 88050), 7.( 106725), 8.( 120900), 9.( 138825), 10.( 162000),
11.( 171115), 12.( 185025), 13.( 204300), 14.( 253607), 15.( 271183),
lead-out( 310351)
CDINDEX discid: dpPoJ_adgjsoOS3Z62F54dUUkRY-
CDDB discid: 0xd6102a0f
CD-Text: not detected
CD-Extra: not detected
samplefile size will be 33339644 bytes.
recording 189.0000 seconds stereo with 16 bits @ 44100.0 Hz ->'-'...
percent_done:
0%ffmpeg version 0.8.6-6:0.8.6-1, Copyright (c) 2000-2013 the Libav developers
built on Mar 24 2013 07:20:17 with gcc 4.7.2
*** THIS PROGRAM IS DEPRECATED ***
This program is only provided for compatibility and will be removed in a future release. Please use avconv instead.
2%[wav @ 0x8083600] max_analyze_duration reached
Input #0, wav, from 'pipe:0':
Duration: 00:03:09.00, bitrate: N/A
Stream #0.0: Audio: pcm_s16le, 44100 Hz, 2 channels, s16, 1411 kb/s
/mnt/sdd2/wb/0007 - Artist Name - Composer 5 Stücke im G, op.204 - 1. Mit Freude ("Perseverare, diabolicum").mp3: Invalid argument

W Child exited with 7
#
but this worked:

Code: Select all

# cdda2wav dev=/dev/sr0 -t 7 -Owav - | ffmpeg -i pipe:0 -f mp3 -ac 2 -ar 44100 -ab 192000 -id3v2_version 3 -metadata artist="Artist Name" -metadata title="Composer 5 Stücke im G, op.204 - 1. Mit Freude (Perseverare, diabolicum)" -metadata album="Artist Name - The Complete Duo Recordings CD11" -metadata year="2012" -metadata track="7" -metadata genre="Instrumental" -y "/mnt/sdd2/0007 - Artist Name - Composer 5 Stücke im G, op.204 - 1. Mit Freude (Perseverare, diabolicum).mp3" 
I might be wrong believing the brackets could be the culprits: suppressing the «/"» and «"/», as i just noticed another title on another track having brackets but no / nor " has been succesfully ripped.

hth
charlie

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1827 Post by zigbert »

Ok, so remove the quotes from metadata and outfile (the slash (\) is added to the command and is not a part of the metadata itself). Should be doable. Added to todo-list

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1828 Post by zigbert »

One more thing
How does the trackinfo look for your troublesome track 7 ?

Image

User avatar
charlie6
Posts: 1230
Joined: Mon 30 Jun 2008, 04:03
Location: Saint-Gérard / Walloon part of Belgium

#1829 Post by charlie6 »

like this: ( i went to discover that the infos are grabbed from the net ... :shock: )
Greetings, Charlie
Attachments
pM438.jpg
(25.88 KiB) Downloaded 645 times

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1830 Post by zigbert »

Great
Just a check to see if the quotes are displayed (read) correct


Thank you
Sigmund

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1831 Post by zigbert »

Version 4.3,9
See main post

Changelog
Bugfix: Rip audio-CD that contains quotes in meta-info. (thanks to charlie6)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1832 Post by zigbert »

Version 4.4.0
See main post


Changelog
- Optional installation of new music files to DB (to nooby - rip).
. . . .- show quest in main gui if user want to install music from source.
. . . .- remove auto-loading of fresh music into DB.
. . . .- still updates db on first run.
. . . .- still adds played tracks to db.
- Improved packaging.
. . . .- Alternative non-puppy packages for frontends/plugins/themes.
. . . .- Mirror all packages at 01micko.com (thanks to 01mick0)
. . . .- Setup alternative FTP-server (01micko.com)
. . . . . . . .- Quick install of radio index.
. . . . . . . .- Quick install of jamendo index.
. . . . . . . .- Show FAQ.
- Update radio/webmusic indexes.
- Bugfix: installing a more recent radio/webmusic index doesn't overwrite the existing.
- Bugfix: New adress to jamendo db-dump file. pMusic fails to 'manually' build index file.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1833 Post by zigbert »

Version 4.4.1
See main post

Changelog
- Bugfix: Trackinfo: Albumlist: Doubleclick to add track to playqueue.
- Bugfix: Add searched albumart to playqueue via right-click menu when Capitals differs from jpg to pmu.
- Bugfix: Trackinfo does quick indexing even if user choose to skip this in main gui.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1834 Post by zigbert »

Version 4.4.2
See main post

Changelog
- Bugfix: Delete track from the 'Database mismatch' dialog should not add the file to playqueue.
- Bugfix: Press play-button after played playqueue corrupts queue.
- Bugfix: Pless play-button after first stopped playing from menu.

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1835 Post by zigbert »

Version 4.4.3
See main post

Changelog
- Bugfix: Moving slider could give playback error and corrupt db.
- Bugfix: Show generic albumart if albumtag is missing and no connection to internet.

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#1836 Post by greengeek »

Hi zigbert, I have a really strange problem that I don't understand. I don't really want to mention it because the problem could be caused by the fact that I am using a strangely modified version of Slacko 5.6. It is my own derivative that has unusual zdrive layering - so I may have done something odd that is causing this behaviour.

Anyway - the strange behaviour may possibly be related somehow to pmusic, as I seem to get desktop icon corruption sometime AFTER i use pmusic, so I thought I would mention it here in case anyone had seen something similar.

Sometimes I lose my desktop icon "matches" and end up with the generic black and white "gear" and "script" icons instead of the normal multicolor icons. (Except for the "connect" icon, which remains as normal). The icons do not return to normal after a restart of X.

I don't know if it is related, but occasionally I also see the following message:

Code: Select all

"Error in '/root/.config/rox.sourceforge.net/ROXFiler/globicons' file at line 2:
"Invalid line in globicons: no icon specified"
This may be due to upgrading from a previous version of ROX-Filer. Open the Options window and try changing something then changing it back (causing the file to be resaved). Further errors will be ignored."
When I look at root/.config/rox.sourceforge.net/ROXFiler/globicons I see the following:

Code: Select all

<?xml version="1.0"?>
<special-files>
  <rule match="<rule">
    <icon>match="/usr/local/pmusic/pmusic"></icon>
  </rule>
</special-files>
Is there an icon specification missing here?

This seems to occur after I have played back some audio via pmusic. Could the icon loss and pmusic error message be related? (My pmusic is 4.1.1)

nooby reported something similar here
(The pic he showed of the icon condition is the same sort of thing I see too).

Any ideas gratefully received :-)

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1837 Post by zigbert »

greengeek
Hmm, looks like bash somehow works different on your system....
At first run, pMusic adds itself to globicons. The code is found in /usr/local/pmusic/pmusic. Line 144 in the latest version 4.4.3.

Code: Select all

	#give pmusic executable an icon in Rox
	if [ ! "`grep -F 'pmusic.svg' ${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons`" ]; then
		grep -vF '</special-files>' ${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons > $WORKDIR/tmp
		cat >> $WORKDIR/tmp << EOF  
  <rule match="/usr/local/pmusic/pmusic">
   <icon>/usr/share/icons/hicolor/scalable/apps/pmusic.svg</icon>
  </rule>
</special-files>
EOF
		mv $WORKDIR/tmp ${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons
	fi
Can it be the use of EOF? It could eg. be done this way instead:

Code: Select all

	#give pmusic executable an icon in Rox
	if [ ! "`grep -F 'pmusic.svg' ${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons`" ]; then
		grep -vF '</special-files>' ${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons > $WORKDIR/tmp
		echo '<rule match="/usr/local/pmusic/pmusic">
   <icon>/usr/share/icons/hicolor/scalable/apps/pmusic.svg</icon>
  </rule>
</special-files>' >> $WORKDIR/tmp
		mv $WORKDIR/tmp ${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons
	fi
I would like to remind you that your running version of pMusic was released 14 months ago.
This how my globicons file look like

Code: Select all

<?xml version="1.0"?>
<special-files>
  <rule match="/usr/bin/gnumeric">
    <icon>/usr/local/lib/X11/pixmaps/spread48.png</icon>
  </rule>
  <rule match="/usr/sbin/savesession-dvd">
    <icon>/usr/local/lib/X11/pixmaps/save48.png</icon>
  </rule>
  <rule match="/root/.pup_event/drive_sda1">
    <icon>/usr/local/lib/X11/pixmaps/drive_mntd_boot48.png</icon>
  </rule>
  <rule match="/usr/local/pmusic/pmusic">
    <icon>/usr/share/icons/hicolor/scalable/apps/pmusic.svg</icon>
  </rule>
  <rule match="/root/.pup_event/drive_sdc1">
    <icon>/usr/local/lib/X11/pixmaps/usbdrv48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultcontact">
    <icon>/usr/local/lib/X11/pixmaps/contact48.png</icon>
  </rule>
  <rule match="/usr/sbin/dotpup">
    <icon>/usr/local/lib/X11/pixmaps/pet48.png</icon>
  </rule>
  <rule match="/usr/sbin/pmount">
    <icon>/usr/local/lib/X11/pixmaps/drive48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultmediaplayer">
    <icon>/usr/local/lib/X11/pixmaps/multimedia48.png</icon>
  </rule>
  <rule match="/usr/sbin/wizardwizard">
    <icon>/usr/local/lib/X11/pixmaps/configuration48.png</icon>
  </rule>
  <rule match="/usr/local/bin/rox">
    <icon>/usr/local/lib/X11/pixmaps/home48.png</icon>
  </rule>
  <rule match="/usr/sbin/save2flash">
    <icon>/usr/local/lib/X11/pixmaps/save48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultpaint">
    <icon>/usr/local/lib/X11/pixmaps/paint48.png</icon>
  </rule>
  <rule match="/usr/sbin/puppyhelp">
    <icon>/usr/local/lib/X11/pixmaps/help48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultdraw">
    <icon>/usr/local/lib/X11/pixmaps/draw48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultwordprocessor">
    <icon>/usr/local/lib/X11/pixmaps/word48.png</icon>
  </rule>
  <rule match="/root/.pup_event/drive_sdb1">
    <icon>/usr/local/lib/X11/pixmaps/drive_mntd48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaulttexteditor">
    <icon>/usr/local/lib/X11/pixmaps/edit48.png</icon>
  </rule>
  <rule match="/usr/sbin/petget">
    <icon>/usr/local/lib/X11/pixmaps/pet48.png</icon>
  </rule>
  <rule match="/usr/bin/rxvt">
    <icon>/usr/local/lib/X11/pixmaps/console48.png</icon>
  </rule>
  <rule match="/root/.pup_event/drive_sdd1">
    <icon>/usr/local/lib/X11/pixmaps/usbdrv48.png</icon>
  </rule>
  <rule match="/usr/bin/urxvt">
    <icon>/usr/local/lib/X11/pixmaps/console48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultcalendar">
    <icon>/usr/local/lib/X11/pixmaps/date48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaulthtmleditor">
    <icon>/usr/local/lib/X11/pixmaps/webedit48.png</icon>
  </rule>
  <rule match="/usr/local/bin/mozmail">
    <icon>/usr/local/lib/X11/pixmaps/email48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultbrowser">
    <icon>/usr/local/lib/X11/pixmaps/www48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultspreadsheet">
    <icon>/usr/local/lib/X11/pixmaps/spread48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultemail">
    <icon>/usr/local/lib/X11/pixmaps/email48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultchat">
    <icon>/usr/local/lib/X11/pixmaps/chat48.png</icon>
  </rule>
  <rule match="/root/.pup_event/drive_sr0">
    <icon>/usr/local/lib/X11/pixmaps/optical48.png</icon>
  </rule>
  <rule match="/usr/local/bin/defaultconnect">
    <icon>/usr/local/lib/X11/pixmaps/connect48.png</icon>
  </rule>
</special-files>

User avatar
zigbert
Posts: 6621
Joined: Wed 29 Mar 2006, 18:13
Location: Valåmoen, Norway
Contact:

#1838 Post by zigbert »

deleted - more fixing required
______________________________________________________________


Version 4.4.4
See main post

Changelog
- Do not update db if nothing changed. (Resourse hunger):
. . . .- detection of albumart-url.
. . . .- building album list.
- Smartadd
. . . .- Smartadd can be slow when filter by rating in a huge db. Give more info in splash.
. . . .- Run Smartadd as background process.
- Reduce cpu-load when reading trackinfo for new playing track.
- Avoid grep locked db (flock) if string is written back to db. - Will corrupt db.
- Bugfix: Rox globicons file corrupted by pMusic. (thanks to greengeek)
- Bugfix: Download album art from albumart.org

User avatar
xanad
Posts: 400
Joined: Fri 28 Feb 2014, 14:56
Location: 2 locations: MonteRosa Alp and Milano
Contact:

#1839 Post by xanad »

Ciao zigbert
4.4.3 mo it
Attachments
pm_mo_it.zip
(18.14 KiB) Downloaded 235 times
[url]http://www.xanad.tk[/url] Html5 Parallax

User avatar
greengeek
Posts: 5789
Joined: Tue 20 Jul 2010, 09:34
Location: Republic of Novo Zelande

#1840 Post by greengeek »

zigbert wrote:Hmm, looks like bash somehow works different on your system....
At first run, pMusic adds itself to globicons. The code is found in /usr/local/pmusic/pmusic. Line 144 in the latest version 4.4.3...Can it be the use of EOF? It could eg. be done this way instead:

Code: Select all

	#give pmusic executable an icon in Rox
	if [ ! "`grep -F 'pmusic.svg' ${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons`" ]; then
		grep -vF '</special-files>' ${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons > $WORKDIR/tmp
		echo '<rule match="/usr/local/pmusic/pmusic">
   <icon>/usr/share/icons/hicolor/scalable/apps/pmusic.svg</icon>
  </rule>
</special-files>' >> $WORKDIR/tmp
		mv $WORKDIR/tmp ${HOME}/.config/rox.sourceforge.net/ROX-Filer/globicons
	fi
Hi zigbert, thanks for the trial code. Unfortunately it did not change the problem. I also tried Pmusic 4.4.3 and it gave the same trouble. Obviously it must be something odd with my system but I have not figured it out yet.

So just to summarise in case someone else has a similar problem:
- When I first start pmusic it creates the file /root/.config/.rox.sourceforge.net/ROX-Filer/globicons (which did not exist previously)
- This file seems to have incorrect syntax for the rox icon that it is intended to add.
- This brings up an error message and also has the effect that when I hover the mouse over (almost) any desktop icon the normal icon image disappears and gets replaced by the 'generic script' icon

In case it is a bash issue, my version is as follows:

Code: Select all

# bash -version
GNU bash, version 4.1.14(2)-release (i686-pc-linux-gnu)
If I restart x the problem continues. However if i remove the bad globicons file and restart x again the problem disappears.

I can also get around the problem in two other ways:
1) Comment out lines 130-140 in my pmusic (ver 4.1.1) which specify the creation of the globicons file. This has to be done before I run pmusic the first time.
2) I can use geany to open /root/.pmusic.pmusicrc and change line 36:

Code: Select all

export FIRST_RUN=true
to "false". The globicons file creation only occurs on pmusics first run.

Zigbert - the globicons file that you have shown - is that /root/.config/.rox.sourceforge.net/ROX-Filer/globicons.xml or is it /root/Choices/ROX-Filer/globicons.xml?

I will keep trying to pin down why this problem is happening and will post back if I discover the reason.

Post Reply