Page 74 of 117

Pmusic error in lupu 528005

Posted: Fri 23 Nov 2012, 10:27
by Dromeno
See here:

http://www.murga-linux.com/puppy/viewto ... 496#666496


I would love to learn what to do next...

Posted: Sat 24 Nov 2012, 13:01
by zigbert
Version 3.0.1
See main post

Changelog
- Avoid masstagger to steal focus while working.
- Bugfix: Remove lines with <<< to get momanager build pot files. (thanks to rodin.s)
- Bugfix: Masstagger stops if non-existing track exist in playlist.
- Bugfix: Name of multiple playlists corrupts at first run. (thanks to charlie6)
- Bugfix: Detect all translations available in preferences. (thanks to L18L)
- Bugfix: Set gettext variable TEXTDOMAIN in func_trackinfo (thanks to rodin.s)
- Bugfix: Play-icon in playlist don't move to playing track when shuffle is activated.

pMusic 3.0.1 not yet working

Posted: Sun 25 Nov 2012, 12:26
by Dromeno
Hi Zigbert,

sorry to bother you but it does not work yet.

See the attached screenshots. First is the new errog msg, second is the terminal pmusic -D output, third is the pequalizer -D output

I have installed:

pmusic 3.0.1
alsaequal-0.6-lupu
pequalizer-0.9.0
caps-0.4.5-lupu
gtkdialog-0.8.2.-i486.lucid
ffmpeg1-0.6-i686-Lucid
ffmpeg_libraries-i686-Lucid

Posted: Sun 25 Nov 2012, 12:55
by zigbert
Dromeno
Please bother - it is meant to work :)

- Your ffmpeg is too old, but pMusic should still open and probably play as well. Playdayz has made an pMusic upgrade pack for Lucid. Please read the Lucid announcement.

- I don't think you removed the directory /root/.pmusic before you ran pMusic 3.0.1 for the first time. It seems to me that the defined theme is not valid - Name of theme should be one word only.

- It would interesting to test your pMusic-gui-file which is generated at first run. Please attach /root/.pmusic/tmp/xml_pmusic


Thank you
Sigmund

Posted: Sun 25 Nov 2012, 15:36
by Dromeno
Zigbert thanlks for helping

OK I went back to an 2fs which did not have the pets I mentioned before installed, so back to the beginning

First I installed Pmusic Upgrade 005 (provides the dependencies to upgrade Pmusic to version 2.5.3, and then further updates can be downloaded from the pmusic thread)

ftp://distro.ibiblio.org/puppylinux/pet ... 28-005.pet

tested the new 2.3 pMusic, it worked

then I installed pMusic 3.0.1 pet and pequalizer 0.9.0

I removed /root/.pmusic before I ran pMusic 3.0.1 for the first time.

The file /root/.pmusic/tmp/xml_pmusic does not exist so I can not include it yet

pequalizer -0.9.0 -D reports missing dependencies, but not which ones. Then I installed alsaequal-0.6-lupu.pet and caps-0.4.5-lupu.pet and run pequalizer -D again and it gave the attached report

pMusic 3.0.1 has no missing deps (see screenshot) when I do pMusic -D

but still pMusic does not start (see error msg)

Posted: Sun 25 Nov 2012, 16:14
by zigbert
Dromeno
Please try to run pmusic --debug in terminal.
We need to get the grip of this..... With the --debug switch turned on, the file /root/.pmusic/tmp/xml_pmusic should be there. Please check.

The terminal-msg: Missing dependencies is written by pEqualizer. This should be replaced by pEqualizer: Missing dependencies. You'll find the checkpoint in line 24 in /usr/local/pequalizer/pequalizer. It looks for /usr/lib/alsa-lib/libasound_module_ctl_equal.so and quits if not existing. It looks like the alsaequal pack didn't install correctly??????? But again. this should not affect pMusic from running


Thank you
Sigmund

Posted: Sun 25 Nov 2012, 20:00
by Dromeno
Hi Zigbert


yep, the file is there now

the forum software does not allow me to attach

/root/.pmusic/tmp/xml_pmusic


so I quote its contents here:

<window icon-name="pmusic" default_height="500" default_width="780">
<vbox>

<hbox spacing="1">
<hbox space-expand="true" space-fill="true">
<menubar>

<menu label="File">
<menuitem stock="gtk-new" label="New playlist" accel-key="0x06e" accel-mods="4">
<action>/usr/local/pmusic/func_store_playlist</action>
<action>/usr/local/pmusic/func -new</action>
<action>refresh:PLAYLIST</action>
</menuitem><menuitem stock="gtk-cdrom" label="Play CD-audio"><action>/usr/local/pmusic/func_cd -play_cd</action>
<action>refresh:PLAYLIST</action>
</menuitem>
<menuitem stock="gtk-save" label="Save playlist" accel-key="0x073" accel-mods="4"><action>. /usr/local/pmusic/func -save</action></menuitem>
<menuitemseparator></menuitemseparator>
<menuitem stock="gtk-preferences" label="Preferences..."><action>/usr/local/pmusic/func_config -preferences &</action></menuitem>
<menuitem label="Plugins..."><action>/usr/local/pmusic/func -plugins &</action></menuitem>
<menuitem label="Equalizer..."><action>/usr/local/pmusic/func -reset_gtk</action>
<action>pequalizer &</action>
</menuitem>
<menuitemseparator></menuitemseparator>
<menuitem stock="gtk-cdrom" label="Eject CD"><action>/usr/local/pmusic/func_player -stop</action>
<action>eject</action>
</menuitem>
<menuitem stock="gtk-quit" label="Quit" accel-key="0x071" accel-mods="4">
<action>/usr/local/pmusic/func_config -write_config</action>
<action>/usr/local/pmusic/func -quit</action>
<action>exit:Exit</action>
</menuitem>
<menuitem stock="gtk-quit" label="Quit and save gui/geometry">
<action>/usr/local/pmusic/func_config -write_config</action>
<action>rm /root/.pmusic/tmp/xml_pmusic*</action>
<action>/usr/local/pmusic/func -quit</action>
<action>exit:Exit</action>
</menuitem>
</menu>
<menu label="Music sources">
<menuitem stock="gtk-about" label="Overview" accel-key="0x06f" accel-mods="4">
<action>. /usr/local/pmusic/func -show_add_window -source</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
<menuitemseparator></menuitemseparator>
<menuitem label="CD"><action>echo "|Probing disc" > /root/.pmusic/tmp/browser</action>
<action>/usr/local/pmusic/func_cd -read_cd &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
<menuitem label="Browse">
<action>export SOURCE=" /root"; . /usr/local/pmusic/func -browse</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
<menu label="My Music">
<menuitem label="Setup..."><action>/usr/local/pmusic/func_index -update_index &</action></menuitem>
<menuitemseparator></menuitemseparator>
<menuitem label="My Tracks">
<action>. /usr/local/pmusic/func -index_songs</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
<menuitem label="My Collections">
<action>. /usr/local/pmusic/func -index_playlists</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
</menu>


<menu label="Radio Hits">
<menuitem label="Setup..."><action>. /usr/local/pmusic/func_radiohits &</action></menuitem>
<menuitemseparator></menuitemseparator></menu>


<menu label="Radio stations">
<menuitem label="Setup..."><action>. /usr/local/pmusic/func_radio &</action></menuitem>
<menuitemseparator></menuitemseparator>
<menuitem label="Genre">
<action>. /usr/local/pmusic/func -radio -genre</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
<menuitem label="Country">
<action>. /usr/local/pmusic/func -radio -country</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
</menu>


<menu label="Web Music">
<menuitem label="Setup..."><action>/usr/local/pmusic/func_webmusic -webmusic_manager &</action></menuitem>
<menuitemseparator></menuitemseparator>
<menuitem label="Top 100 ">
<action>/usr/local/pmusic/func_webmusic -jamendo_top100 &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem><menuitem label="Top 100 Blues">
<action>/usr/local/pmusic/func_webmusic -jamendo_top100 Blues &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem><menuitem label="Top 100 Classical">
<action>/usr/local/pmusic/func_webmusic -jamendo_top100 Classical &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem><menuitem label="Top 100 Electro">
<action>/usr/local/pmusic/func_webmusic -jamendo_top100 Electro &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem><menuitem label="Top 100 Jazz">
<action>/usr/local/pmusic/func_webmusic -jamendo_top100 Jazz &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem><menuitem label="Top 100 Hiphop">
<action>/usr/local/pmusic/func_webmusic -jamendo_top100 Hiphop &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem><menuitem label="Top 100 Lounge">
<action>/usr/local/pmusic/func_webmusic -jamendo_top100 Lounge &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem><menuitem label="Top 100 Metal">
<action>/usr/local/pmusic/func_webmusic -jamendo_top100 Metal &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem><menuitem label="Top 100 Pop">
<action>/usr/local/pmusic/func_webmusic -jamendo_top100 Pop &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem><menuitem label="Top 100 Rock">
<action>/usr/local/pmusic/func_webmusic -jamendo_top100 Rock &</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
<menuitemseparator></menuitemseparator>
<menuitem label="Browse">
<action>/usr/local/pmusic/func_webmusic -webmusic</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
</menu>
<menu label="Podcast">
<menuitem label="Setup..."><action>. /usr/local/pmusic/func_podcast &</action></menuitem>
<menuitemseparator></menuitemseparator>
<menuitem label="Podcast">
<action>if [ ! "`find "" -mindepth 1`" ]; then echo "|No podcasts - run manager in Music-Source menu." > /root/.pmusic/tmp/sourcelist; else SOURCE=" "; . /usr/local/pmusic/func -browse; fi</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
</menu>
<menu label="Bookmarks">
<menuitem label="Setup..."><action>. /usr/local/pmusic/func_bookmarks -manage_bookmarks &</action></menuitem>
<menuitemseparator></menuitemseparator>
<menuitem label="Bookmarks">
<action>. /usr/local/pmusic/func_bookmarks -show_bookmarks</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
</menu>
<menuitemseparator></menuitemseparator>
<menuitem label="Recent played">
<action>. /usr/local/pmusic/func -index_recent</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
<menu label="Most played">
<menuitem label="Last day">
<action>/usr/local/pmusic/func_rating -buildlist "$(($(date +%s)-86400))" "/root/.pmusic/index_mymusic" > /root/.pmusic/tmp/tmp</action>
<action>sort -rnst"|" -k9,9 /root/.pmusic/tmp/tmp | head -n 30 | grep -vF "|0|" > /root/.pmusic/tmp/sourcelist</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
<action>/usr/local/pmusic/func -add_to_history "pMusic: Most played last day"</action>
</menuitem>
<menuitem label="Last week">
<action>/usr/local/pmusic/func_rating -buildlist "$(($(date +%s)-604800))" "/root/.pmusic/index_mymusic" > /root/.pmusic/tmp/tmp</action>
<action>sort -rnst"|" -k9,9 /root/.pmusic/tmp/tmp | head -n 30 | grep -vF "|0|" > /root/.pmusic/tmp/sourcelist</action>
<action>/usr/local/pmusic/func -add_to_history "pMusic: Most played last week"</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
<menuitem label="Last month">
<action>/usr/local/pmusic/func_rating -buildlist "$(($(date +%s)-2592000))" "/root/.pmusic/index_mymusic" > /root/.pmusic/tmp/tmp</action>
<action>sort -rnst"|" -k9,9 /root/.pmusic/tmp/tmp | head -n 30 | grep -vF "|0|" > /root/.pmusic/tmp/sourcelist</action>
<action>/usr/local/pmusic/func -add_to_history "pMusic: Most played last month"</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
<menuitemseparator></menuitemseparator>
<menuitem label="Custom...">
<action>. /usr/local/pmusic/func_rating -custom</action>
</menuitem>
</menu>

<menuitem label="Bookmark source content...">
<action>/usr/local/pmusic/func_bookmarks -manage_bookmarks -add_source</action>
</menuitem>

<menuitem label="Tag all tracks in source-list..."><action>exec /usr/local/pmusic/func_id3tagger /root/.pmusic/tmp/sourcelist &</action></menuitem>
<menuitemseparator></menuitemseparator>

<menuitem label="View navigation history">
<action>. /usr/local/pmusic/func -index_history</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</menuitem>
<menuitem label="Advanced file search..."><action>/usr/local/pmusic/func -pfilesearch</action></menuitem>
</menu>

<menu label="Playlist">
<menuitem stock="gtk-save-as" label="Export tracks in playlist..." tooltip-text="Start with number"><action>/usr/local/pmusic/func_export &</action></menuitem>
<menuitem stock="gtk-cdrom" label="Burn tracks in playlist..."><action>/usr/local/pmusic/func -burn &</action>
</menuitem>
<menuitem label="Tag all tracks in playlist..."><action>/usr/local/pmusic/func_id3tagger /root/.pmusic/tmp/playlist &</action></menuitem>
<menuitemseparator></menuitemseparator><menuitem radiobutton="true" accel-key="0x031" accel-mods="4">
<label>"Playlist 1"</label>
<action>if true /usr/local/pmusic/func -store_playlist1234; echo 1 > /root/.pmusic/tmp/PLAYLIST1234; cp /root/.pmusic/tmp/playlist1 /root/.pmusic/tmp/playlist; /usr/local/pmusic/func -statusbar_playlist</action>
<action>refresh:PLAYLIST</action>
</menuitem><menuitem radiobutton="false" accel-key="0x032" accel-mods="4">
<label>"Playlist 2"</label>
<action>if true /usr/local/pmusic/func -store_playlist1234; echo 2 > /root/.pmusic/tmp/PLAYLIST1234; cp /root/.pmusic/tmp/playlist2 /root/.pmusic/tmp/playlist; /usr/local/pmusic/func -statusbar_playlist</action>
<action>refresh:PLAYLIST</action>
</menuitem><menuitem radiobutton="false" accel-key="0x033" accel-mods="4">
<label>"Playlist 3"</label>
<action>if true /usr/local/pmusic/func -store_playlist1234; echo 3 > /root/.pmusic/tmp/PLAYLIST1234; cp /root/.pmusic/tmp/playlist3 /root/.pmusic/tmp/playlist; /usr/local/pmusic/func -statusbar_playlist</action>
<action>refresh:PLAYLIST</action>
</menuitem><menuitem radiobutton="false" accel-key="0x034" accel-mods="4">
<label>"Playlist 4"</label>
<action>if true /usr/local/pmusic/func -store_playlist1234; echo 4 > /root/.pmusic/tmp/PLAYLIST1234; cp /root/.pmusic/tmp/playlist4 /root/.pmusic/tmp/playlist; /usr/local/pmusic/func -statusbar_playlist</action>
<action>refresh:PLAYLIST</action>
</menuitem><menuitem radiobutton="false" accel-key="0x035" accel-mods="4">
<label>"Playlist 5"</label>
<action>if true /usr/local/pmusic/func -store_playlist1234; echo 5 > /root/.pmusic/tmp/PLAYLIST1234; cp /root/.pmusic/tmp/playlist5 /root/.pmusic/tmp/playlist; /usr/local/pmusic/func -statusbar_playlist</action>
<action>refresh:PLAYLIST</action>
</menuitem><menuitem radiobutton="false" accel-key="0x036" accel-mods="4">
<label>"Playlist 6"</label>
<action>if true /usr/local/pmusic/func -store_playlist1234; echo 6 > /root/.pmusic/tmp/PLAYLIST1234; cp /root/.pmusic/tmp/playlist6 /root/.pmusic/tmp/playlist; /usr/local/pmusic/func -statusbar_playlist</action>
<action>refresh:PLAYLIST</action>
</menuitem><menuitem radiobutton="false" accel-key="0x037" accel-mods="4">
<label>"Playlist 7"</label>
<action>if true /usr/local/pmusic/func -store_playlist1234; echo 7 > /root/.pmusic/tmp/PLAYLIST1234; cp /root/.pmusic/tmp/playlist7 /root/.pmusic/tmp/playlist; /usr/local/pmusic/func -statusbar_playlist</action>
<action>refresh:PLAYLIST</action>
</menuitem><menuitem radiobutton="false" accel-key="0x038" accel-mods="4">
<label>"Playlist 8"</label>
<action>if true /usr/local/pmusic/func -store_playlist1234; echo 8 > /root/.pmusic/tmp/PLAYLIST1234; cp /root/.pmusic/tmp/playlist8 /root/.pmusic/tmp/playlist; /usr/local/pmusic/func -statusbar_playlist</action>
<action>refresh:PLAYLIST</action>
</menuitem><menuitem radiobutton="false" accel-key="0x039" accel-mods="4">
<label>"Playlist 9"</label>
<action>if true /usr/local/pmusic/func -store_playlist1234; echo 9 > /root/.pmusic/tmp/PLAYLIST1234; cp /root/.pmusic/tmp/playlist9 /root/.pmusic/tmp/playlist; /usr/local/pmusic/func -statusbar_playlist</action>
<action>refresh:PLAYLIST</action>
</menuitem><menuitem stock="gtk-edit"label="Rename playlists"><action>/usr/local/pmusic/func_config -preferences -playlist &</action></menuitem>
<menuitemseparator></menuitemseparator>
<menuitem stock="gtk-undo" label="Go back in playlist history" accel-key="0x07a" accel-mods="4">
<action>. /usr/local/pmusic/func -undo</action>
<action>refresh:PLAYLIST</action>
</menuitem>
<menuitem stock="gtk-redo"label="Go forward in playlist history" accel-key="0x079" accel-mods="4">
<action>. /usr/local/pmusic/func -redo</action>
<action>refresh:PLAYLIST</action>
</menuitem>
</menu>

<menu label="Track">
<menuitem label="Bookmark playing track" accel-key="0x062" accel-mods="4"><action>/usr/local/pmusic/func_bookmarks -manage_bookmarks -add_playing &</action></menuitem>
<menuitem label="Track info" stock="gtk-info" accel-key="0x069" accel-mods="4"><action>/usr/local/pmusic/func_trackinfo "" -gui &</action></menuitem>
<menuitemseparator></menuitemseparator>
<menuitem stock="gtk-media-play" label="Play / Pause" accel-key="0x020" accel-mods="8"><action>/usr/local/pmusic/func_player -play; echo true > /root/.pmusic/tmp/UPDATE_GUI</action></menuitem>
<menuitem stock="gtk-media-stop" label="Stop" accel-key="0xff54" accel-mods="8"><action>/usr/local/pmusic/func_player -stop; cp /usr/local/pmusic/themes/Gtk/icon_play.png /root/.pmusic/tmp/icon_playpause.png; echo true > /root/.pmusic/tmp/UPDATE_GUI</action></menuitem>
<menuitem stock="gtk-media-next" label="Next track" accel-key="0xff53" accel-mods="8"><action>cp -f /root/.pmusic/tmp/PLAYLIST /root/.pmusic/tmp/tmpPLAYLIST</action><action>/usr/local/pmusic/func_player -next</action></menuitem>
<menuitem stock="gtk-media-previous" label="Previous track" accel-key="0xff51" accel-mods="8"><action>/usr/local/pmusic/func_player -back</action></menuitem>
<menuitem label="Jump to time" accel-key="0x06A" accel-mods="4"><action>/usr/local/pmusic/func_player -jump_to</action></menuitem>
</menu>

<menu label="View">
<menuitem icon="gtk-fullscreen">
<label>Now playing</label>
<action>exec pmusic -j -p .NowPlaying -T .NowPlaying</action>
</menuitem>
<menuitemseparator></menuitemseparator>
<menu label="Docks">
<menuitem icon="gtk-find">
<label>Show/hide Search options</label>
<action type="activate">VIEW_SEARCH_OPTIONS</action>
</menuitem>
<menuitem icon="gtk-add">
<label>Show/hide Smart Add</label>
<action type="activate">VIEW_ADD_OPTIONS</action>
</menuitem>
</menu></menu>

<menu label="Help">
<menuitem stock="gtk-pmusic" label="About"><action>/usr/local/pmusic/func -about &</action></menuitem>
<menuitem stock="gtk-help" label="Frequently asked questions" accel-key="0xffbe" accel-mods="0"><action>/usr/local/pmusic/func -faq &</action></menuitem>
<menuitemseparator></menuitemseparator>
<menuitem stock="gtk-help" label="I want music"><action>/usr/local/pmusic/func -info_IWantMusic</action></menuitem>
<menuitemseparator></menuitemseparator>
<menuitem label="Dependency check"><action>/usr/local/pmusic/func -dependency_check</action></menuitem>
</menu>
<action>rm -f /root/.pmusic/tmp/history</action>
</menubar>
</hbox></hbox>

<timer visible="false" milliseconds="true" interval="1000">
<action>[ ! "`ps -e | grep -F func_progressba`" ] && nice -n 18 /usr/local/pmusic/func_progressbar &</action>
<action>refresh:PROGRESS</action>
<action>refresh:STATUSBAR</action>
</timer>


<checkbox visible="false" file-monitor="true" auto-refresh="true">
<variable>UPDATE_SOURCELIST</variable>
<input file>/root/.pmusic/tmp/UPDATE_SOURCELIST</input>
<action>if true clear:SOURCE</action>
<action>if true refresh:SOURCE</action>
<action>if true echo false > /root/.pmusic/tmp/UPDATE_SOURCELIST</action>
</checkbox>
<checkbox visible="false" file-monitor="true" auto-refresh="true">
<variable>UPDATE_GUI</variable>
<input file>/root/.pmusic/tmp/UPDATE_GUI</input>
<action>if true refresh:PLAYLIST</action>
<action>if true refresh:SVG_NOWPLAYING</action>
<action>if true refresh:BUTTON_PLAY</action>
<action>if true refresh:WINDOW_TITLE</action>
<action>if true refresh:ARTWORK</action>
<action>if true echo false > /root/.pmusic/tmp/UPDATE_GUI</action>
</checkbox>


<hbox scrollable="true" height="200" width-request="10">
<vbox space-expand="true" space-fill="true">
<vbox space-expand="false" space-fill="false">
<text height-request="2"><label>""</label></text>

<vbox>
<hbox spacing="1">
<text width-request="4" space-expand="false" space-fill="false"><label>""</label></text>
<button space-expand="false" space-fill="false" tooltip-text="Music-sources overview">
<input file stock="gtk-about"></input>
<action>. /usr/local/pmusic/func -show_add_window -source</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</button>
<togglebutton space-expand="false" space-fill="false" tooltip-text="Define which sources to search">
<variable>VIEW_SEARCH_OPTIONS</variable>
<input file stock="gtk-find"></input>
<default>false</default>
<action>if true show:VBOX_SEARCH_OPTIONS</action>
<action>if false hide:VBOX_SEARCH_OPTIONS</action>
</togglebutton>
<togglebutton space-expand="false" space-fill="false" tooltip-text="Smart add">
<variable>VIEW_ADD_OPTIONS</variable>
<input file stock="gtk-add"></input>
<default>false</default>
<action>if true show:VBOX_ADD_OPTIONS</action>
<action>if false hide:VBOX_ADD_OPTIONS</action>
</togglebutton>
<button relief="2" width-request="26" space-expand="false" space-fill="false" tooltip-text="Go back in source history">
<variable>HISTORY_UNDO</variable>
<input file stock="gtk-go-back"></input>
<action>/usr/local/pmusic/func -history_undo</action>
<action>refresh:SEARCH</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</button>
<button relief="2" width-request="26" space-expand="false" space-fill="false" tooltip-text="Go forward in source history">
<variable>HISTORY_REDO</variable>
<input file stock="gtk-go-forward"></input>
<action>/usr/local/pmusic/func -history_redo</action>
<action>refresh:SEARCH</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</button>
<entry name="search" height-request="30" activates-default="true" is-focus="true" tooltip-text="! Free-search: 'nig tnt' finds 'TNT - Desperate night'...
... while 'nig -tnt' does NOT find any TNT files.
! Add files and URLs to playlist.
! Browse paths." space-expand="true" space-fill="true">
<variable>SEARCH</variable>
<input file>/root/.pmusic/tmp/filebrowser_dir</input>
<action signal="activate">/usr/local/pmusic/func -search_refresh</action>
<action signal="activate">clear:SOURCE</action>
<action signal="activate">refresh:SOURCE</action>

</entry>
</hbox>

<vbox visible="false" space-expand="true" space-fill="true">
<hseparator></hseparator>
<hbox spacing="5" tooltip-text="Define which sources to search" space-expand="true" space-fill="true">
<text width-request="0" space-expand="false" space-fill="false"><label>""</label></text>
<button space-expand="false" space-fill="false">
<label>Search</label>
<input file stock="gtk-find"></input>
<action>/usr/local/pmusic/func -search_refresh</action>
<action>clear:SOURCE</action>
<action>refresh:SOURCE</action>
</button>
<text width-request="15" space-expand="false" space-fill="false"><label>""</label></text>
<vbox spacing="2" space-expand="false" space-fill="false">
<checkbox label="My Tracks" height-request="15" space-expand="false" space-fill="false">
<variable>SEARCH_MYMUSIC</variable>
<input>echo $SEARCH_MYMUSIC</input>

</checkbox>
<checkbox label="My Collections" height-request="15" space-expand="false" space-fill="false">
<variable>SEARCH_COLLECTIONS</variable>
<input>echo $SEARCH_COLLECTIONS</input>

</checkbox>
</vbox>
<vbox spacing="2" space-expand="true" space-fill="true">
<hbox>
<checkbox label="Radio stations" height-request="15" space-expand="false" space-fill="false">
<variable>SEARCH_RADIO</variable>
<input>echo $SEARCH_RADIO</input>
</checkbox>
<checkbox label="Web Music" height-request="15" space-expand="true" space-fill="true">
<variable>SEARCH_WEBMUSIC</variable>
<input>echo $SEARCH_WEBMUSIC</input>
</checkbox>
</hbox>
<hbox spacing="0" space-expand="true" space-fill="true">
<checkbox label="" height-request="15" space-expand="false" space-fill="false">
<variable>SEARCH_FILES</variable>
<input>echo $SEARCH_FILES</input>
</checkbox>
<entry height-request="17" space-expand="true" space-fill="true">
<variable>SEARCHPATH</variable>
<default>"/mnt [OR] /root"</default>

</entry>
</hbox>
</vbox>
</hbox>
<variable>VBOX_SEARCH_OPTIONS</variable>
</vbox>

<vbox visible="false" space-expand="true" space-fill="true">
<hseparator></hseparator>
<hbox spacing="5" tooltip-text="Add tracks based on request" space-expand="true" space-fill="true">
<text width-request="0" space-expand="false" space-fill="false"><label>""</label></text>
<button space-expand="false" space-fill="false">
<label>Add</label>
<input file stock="gtk-add"></input>
<action>/usr/local/pmusic/func_add -smartadd $NR $CHK_RANDOM</action>
<action>refresh:PLAYLIST</action>
</button>
<text width-request="15" space-expand="false" space-fill="false"><label>""</label></text>
<spinbutton range-min="0" range-max="99999" range-step="1" range-value="10" width-request="65" space-expand="false" space-fill="false">
<variable>NR</variable>
<default>10</default>
</spinbutton>
<checkbox space-expand="false" space-fill="false">
<variable>CHK_RANDOM</variable>
<label>Random</label>
</checkbox>
<text space-expand="true" space-fill="true"><label>""</label></text>
</hbox>
<variable>VBOX_ADD_OPTIONS</variable>
</vbox>

</vbox>
</vbox>
<hbox space-expand="true" space-fill="true">

<table sort-function="1" column-visible="false|true|true|true|true|true|true|false|true|true|true|true|false|true|false|false|false|false|false|false|false" exported_column="0">
<variable>SOURCE</variable>
<height>100</height><width>300</width>
<label>"Command|Artist / Filename |Title |Album |Nr |Year |Genre |Comment |Rate|Format|Kb/s |Length||Path ||disc-id musicbrainz.org|||||timestamps"</label>
<input file>/root/.pmusic/tmp/sourcelist</input>
<action signal="button-press-event">. /usr/local/pmusic/func -sourcelist_menu</action>
<action>/usr/local/pmusic/func -browse</action>
<action>/usr/local/pmusic/func_add -add &</action>
<action>refresh:UPDATE_SOURCELIST2</action>
</table>

<checkbox visible="false">
<variable>UPDATE_SOURCELIST2</variable>
<input file>/root/.pmusic/tmp/UPDATE_SOURCELIST2</input>
<action>if true clear:SOURCE</action>
<action>if true refresh:SOURCE</action>
<action>if true refresh:SEARCH</action>
<action>if true echo false > /root/.pmusic/tmp/UPDATE_SOURCELIST2</action>
<action>if true refresh:UPDATE_SOURCELIST2</action>
</checkbox>

</hbox>
</vbox>
<vbox width-request="350">

<tree name="playlist" tooltip-column="5" headers_visible="false" exported_column="3" hover-selection="true" column-visible="true|true|true|false">
<label>A|B|C|D</label>
<height>150</height><width>150</width>
<input file stock-column="0">/root/.pmusic/tmp/playlist</input>
<variable>PLAYLIST</variable>
<action signal="button-press-event">grep -F "$PLAYLIST" /root/.pmusic/tmp/playlist > /root/.pmusic/tmp/PLAYLIST_PRESS_EVENT</action>
<action signal="button-press-event">[ "$PLAYLIST" ] && . /usr/local/pmusic/func -playlist_menu</action>
<action signal="button-release-event">. /usr/local/pmusic/func -playlist_select</action>
<action signal="button-release-event">refresh:PLAYLIST</action>
</tree>
</vbox>
</hbox>


<hbox height-request="90">
<eventbox tooltip-text="Show track-info window" above-child="true" visible-window="true" spacing="0" space-expand="false" space-fill="false">
<pixmap>
<variable>ARTWORK</variable>
<input file>/root/.pmusic/tmp/albumart.jpg</input>
<height>90</height>
</pixmap>
<action signal="enter-notify-event">disable:ARTWORK</action>
<action signal="leave-notify-event">enable:ARTWORK</action>
<action signal="button-release-event">/usr/local/pmusic/func_kill -trackinfo</action>
<action signal="button-release-event">echo false > /root/.pmusic/tmp/UPDATE_TRACKINFO</action>
<action signal="button-release-event">/usr/local/pmusic/func_trackinfo "" -gui &</action>
</eventbox>

<vbox space-expand="true" space-fill="true" spacing="2">
<hbox>
<vbox space-expand="true" space-fill="true" spacing="0">

<vbox space-expand="true" space-fill="true">
<hbox spacing="0" height="50" height-request="10" width-request="10" space-expand="false" space-fill="false" scrollable="true">
<pixmap height-request="50" space-expand="false" space-fill="false"><variable>SVG_NOWPLAYING</variable><input file>/root/.pmusic/tmp/status.svg</input></pixmap>
<hbox height-request="1" space-expand="true" space-fill="true"><text><label>""</label></text></hbox>
</hbox>
</vbox>
<hbox space-expand="true" space-fill="true" spacing="0">
<vbox spacing="0">
<hbox height-request="1" space-expand="true" space-fill="true"><text><label>""</label></text></hbox>

<hscale height-request="16" draw-value="false" block-function-signals="true" update-policy="1" scale-step="1" scale-min="0" scale-max="100">
<variable>PROGRESS</variable>
<input file>/root/.pmusic/tmp/PERCENT_BAR</input>
<action>. /usr/local/pmusic/func_player -jump_to_percent</action>
</hscale>
</vbox>
</hbox>
</vbox>


<vbox>
<hbox spacing="3" space-expand="false" space-fill="false">
<hbox space-expand="false" space-fill="false">

<button tooltip-text="Play mode: Which track should be next
- Straight: Follow playlist
- Loop: Start over again when last track is played
- Shuffle: Play a random track">
<input file>/root/.pmusic/tmp/icon_playmode.png</input>
<variable>PLAYMODE</variable>
<action>/usr/local/pmusic/func -playmode</action>
<action>refresh:PLAYMODE</action>
</button>

<button tooltip-text="Add track:
- after playing track
- as last track">
<input file>/root/.pmusic/tmp/icon_addmode.png</input>
<variable>ADDMODE</variable>
<action>/usr/local/pmusic/func -addmode</action>
<action>refresh:ADDMODE</action>
</button>
</hbox>
<text space-expand="true" space-fill="true"><label>""</label></text>
<hbox space-expand="false" space-fill="false">

<hbox spacing="0">

<button relief="2" tooltip-text=" Previous track ">
<input file stock="gtk-media-previous"></input>
<action>/usr/local/pmusic/func_player -back</action>
</button>

<button relief="2" tooltip-text=" Play / Pause ">
<input file>/root/.pmusic/tmp/icon_playpause.png</input>
<variable>BUTTON_PLAY</variable>
<action>/usr/local/pmusic/func_player -play refresh; echo true > /root/.pmusic/tmp/UPDATE_GUI</action>
<action>refresh:BUTTON_PLAY</action>
</button>

<button relief="2" tooltip-text=" Next track ">
<input file stock="gtk-media-next"></input>
<action>cp -f /root/.pmusic/tmp/PLAYLIST /root/.pmusic/tmp/tmpPLAYLIST</action>
<action>/usr/local/pmusic/func_player -next</action>
</button>
</hbox>

</hbox>
<text space-expand="true" space-fill="true"><label>""</label></text>
<hbox space-expand="false" space-fill="false">

<button tooltip-text=" New playlist ">
<input file stock="gtk-clear"></input>
<action>/usr/local/pmusic/func_store_playlist</action>
<action>/usr/local/pmusic/func -new</action>
<action>Refresh:PLAYLIST</action>
</button>

<button tooltip-text=" Go BACK in playlist history ">
<input file stock="gtk-undo"></input>
<action>. /usr/local/pmusic/func -undo</action>
<action>Refresh:PLAYLIST</action>
</button>

<button tooltip-text=" Go FORWARD in playlist history ">
<input file stock="gtk-redo"></input>
<action>. /usr/local/pmusic/func -redo</action>
<action>Refresh:PLAYLIST</action>
</button>
</hbox>
</hbox>


<vbox>
<hbox width-request="350" space-expand="true" space-fill="true"><text width-resuest="350"><label>""</label></text></hbox>
<hbox>

<pixmap>
<height>12</height>
<input file>/usr/local/pmusic/themes/Gtk/volume.png</input>
</pixmap>

<vbox width-request="100">

<hscale height-request="12" draw-value="false" update-policy="1" scale-step="1" scale-min="0" scale-max="95" tooltip-text="Volume
Speaker channel: Master">
<variable>VOLUME</variable>
<input file>/root/.pmusic/tmp/VOLUME</input>
<action>. /usr/local/pmusic/func_mixer -set_volume</action>


</hscale>
</vbox>
</hbox>
</vbox>

</vbox>
</hbox>

<statusbar height-request="16">
<variable>STATUSBAR</variable>
<input file>/root/.pmusic/tmp/statusbar</input>
</statusbar>
</vbox>
</hbox>


</vbox>
<variable>WINDOW_TITLE</variable>
<input file>/root/.pmusic/tmp/window_title</input>
<action signal="show">/usr/local/pmusic/func_mixer -get_levels</action>
<action signal="show">refresh:VOLUME</action>
<action signal="show">refresh:BALANCE</action>
<action signal="show">echo > /root/.pmusic/tmp/gui_is_running</action>
<action signal="show">echo 100 > /root/.pmusic/tmp/splash</action>
<action signal="delete-event">/usr/local/pmusic/func_config -write_config</action>
<action signal="delete-event">/usr/local/pmusic/func -quit</action>
<action signal="delete-event">exit:Exit</action>
</window>

Posted: Sun 25 Nov 2012, 21:01
by zigbert
Version 3.0.2
See main post

Changelog
- Bugfix: Add track to playlist after search in external pfilesearch-window.
- Bugfix: Prefer executable gtkdialog5 over gtkdialog. (thanks to Dromeno)

Posted: Sun 25 Nov 2012, 21:02
by zigbert
Dromeno
3.0.2 is for you

pMusic rocks

Posted: Sun 25 Nov 2012, 21:35
by Dromeno
Hi Zigbert,

Thanks for the 3.0.2!

...but...

I uninstalled the 301, then installed the 302. Then I started pMusic. Lots of testosterone (emulated by hardrock) leaked out of my speakers (no I do not mind but I am more adjusted to ambient nowadays, and this hardrock piece was not even stopped with ctrl-alt-backspace, a complete reboot was required!)

but anyway... no GUI whatsoever. No pMusic, just a piece of unstoppable hardrock. So I can not use your creation yet!

But it is time to go to sleep in mz timezone (GMT+1). I will check this thread in about 8 hrs...

thanks so far (but if you dont mind I am going to listen to something else than your selection) before I go to sleep :)

Posted: Sun 25 Nov 2012, 22:10
by zigbert
Dromeno
Stop music by pmusic -s stop
pMusic is separated in a backend and a frontend. - Backend works!

I am almost sure the problem is your gtkdialog.
What is the terminal output of
gtkdialog --version
and
gtkdialog5 --version


Sigmund

Posted: Sun 25 Nov 2012, 22:59
by zigbert
New upload of 3.0.2
See main post

Posted: Mon 26 Nov 2012, 17:19
by don570
Users would find it easier to install your programs
if you had a warning written in the pinstall script
so that a warning message about gtkdialog version appeared.

Image

For instance here is a script I wrote to warn if version is not
greater than 0.7.21

Wouldn't it be easy to put a script like this in the pinstall script file?

Code: Select all


for P in gtkdialog4 gtkdialog3 gtkdialog; do 
GTKDIALOG=$(which $P) && break 
done 

function funcGTKDVGet() { 
   GTKDV=( $($GTKDIALOG -v) )    
   GTKDV=${GTKDV[2]}  
   echo "Gtkdialog version: $GTKDV" 
   GTKDV=( ${GTKDV//./ } )    
   if [ ${GTKDV[1]} -lt 10 ]; then GTKDV[1]=${GTKDV[1]}0; fi 
   if [ ${GTKDV[2]} -lt 10 ]; then GTKDV[2]=0${GTKDV[2]}; fi 
}; funcGTKDVGet 

if [ ${GTKDV[1]}${GTKDV[2]} -lt "7021" ]; then 
   xmessage "This application requires at least gtkdialog-0.7.21" 
   exit 

fi

I gave some suggestions here.
http://208.109.22.214/puppy/viewtopic.p ... 278265c8f0

____________________________________

stubborn old gtkdialog

Posted: Tue 27 Nov 2012, 09:28
by Dromeno
Thanks for your help so far

Yes, it is most likely a gtkdialog problem but how do I solve it? I have installed this new gtkdialog

http://murga-linux.com/puppy/viewtopic. ... 450#662450

and the new pmusic-3.0.2-1.pet

but still puppy uses the old gtkdialog.

see attached screenshot of package manager, pfind and the terminal

Re: stubborn old gtkdialog

Posted: Tue 27 Nov 2012, 12:53
by sheldonisaac
Dromeno wrote:I have installed this new gtkdialog
http://murga-linux.com/puppy/viewtopic. ... 450#662450
and the new pmusic-3.0.2-1.pet

but still puppy uses the old gtkdialog.
Good morning, Dromeno.

Perhaps the old gtkdialog is used because it is earlier in the path.

Copy the new gtkdialog to the earliest directory in the path, probably /usr/bin (after first renaming any gtkdialog which might be already there)

I did

Code: Select all

env | grep  PATH
and among the results was
PATH=/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/X11R7/bin:/root/my-applications/bin
And when I did

Code: Select all

find / -name gtkdialog
the results were
/usr/bin/gtkdialog
/usr/sbin/gtkdialog

Code: Select all

/usr/sbin/gtkdialog  -v
gives
gtkdialog version 0.7.21 (C) 2004, 2005, 2006, 2007 by Laszlo Pere
while

Code: Select all

 gtkdialog  -v
gives
gtkdialog version 0.8.2 release (C) 2003-2007 Laszlo Pere, 2011-2012 Thunor

Posted: Tue 27 Nov 2012, 21:36
by zigbert
Version 3.0.3
See main post

Changelog
- Add message to terminal if frontend fails to run.
- Bugfix: Allow gtkdialog executable to be a link rather than a file. Thanks to (Dromeno)
- Bugfix: Stop autoplayed music if frontend fails to run.

Posted: Tue 27 Nov 2012, 21:37
by zigbert
Dromeno
sheldonisaac is right, but please try 3.0.3 first. The best would be that pMusic itself fixes this....


Sigmund

Posted: Wed 28 Nov 2012, 02:37
by Flash
A few days ago I used Pmusic 3.0 to tag the mp3 files in an audio book that contained around 200 files. In previous versions of Pmusic, tagging would go through the files just once to do the job. In 3.0, it appeared to go through the tagging process twice, and got it wrong the first time. I re-entered the data and ran the tagging program again. Again it appeared to run through the files in the directory twice, but tagged them correctly that time.

The first time, I entered

Code: Select all

exe:echo 'COUNT - 200'
in the Title window. Instead of tagging the first file '1 - 200' in the title, as it always had before 3.0, the title was '201 - 200'; the title of the second file was '202 - 200' and so on. After I ran the program again with the same input, the first track was '1 - 200' and so on.

Also, it would be very useful for the tagging window to show the metadata of the first file in the directory when the tagging window is opened with "Tag all tracks in source-list." I have to run

Code: Select all

ffmpeg -i [file name.mp3]
from a console to be sure I see the metadata of an mp3 file now. That's how I knew Pmusic hadn't tagged the tracks right the first time.

Posted: Wed 28 Nov 2012, 08:44
by zigbert
Dromeno
3.0.3 won't help you - my mind wasn't clear.

Please follow sheldonisaac's advice


Good luck
Sigmund

Posted: Wed 28 Nov 2012, 08:45
by zigbert
Flash
Will check


Sigmund