XH, a GTK2 player-frontend and themes

Moderator: Forum moderators

Post Reply
User avatar
torm
Posts: 34
Joined: Thu Aug 06, 2020 3:02 pm
Been thanked: 6 times

XH, a GTK2 player-frontend and themes

Post by torm »

XH, version 04.
Source package.
XH is a work-in-progress modification of the xhippo playlist manager,
a GTK2 frontend for commandline audioplayers like mpg123, ogg123, and alike.

Goal.
XH is focused on the simple and goodlooking user interface, the look and feel.

Usage.
Drop an item in the playlist - or set filetype click command 'xh "$1"' in ROX-filer.
Item can be a file, folder or a playlist. Inclusion of the playlist from the
playlist is possible, use of current working directory is in testing.
In the current version there are still commandline switches available and
keyboard hotkeys are assigned to most menu options and playback buttons
- for example "space" key toggles playback and the "i" shows/hides playlist..

Runtime configuration.
Use right-click menu for playlist and playback options - like loop, random play,
sorting, etc. - changes are autosaved for the next use.

Setup.
Setup dialog covers user options and information.
It is external gtkdialog4 sh script and can be extended as needed without
recompiling the program - for backend configuration as example.
Some Puppys may need extra scripts and configuration.

Playlists.
xhl is a plain textfile with the file paths. Use of m3u playlist header
is set optional - to create m3u playlist files acceptable to vlc, audacious,
deadbeef and alike.

Data.
Mime type icons are included, see the README file in the data folder,
also locale support scripts and po files.

Included scripts.
xhm script is for ogg and mp3 playback, using aplay as audioplayer with
oggdec and lame as decoders. xhm is based on xhplay. Other filetypes or
players can be configured from the setup dialog.
Example xhr script opens item with XH, or inserts it to already opened
playlist, similar to what 'single instance' xh internal option does.

Look.
Themes are GTK2 gtkrc resource files. Global themes are ignored
where possible - fonts, icons, pixmaps etc. are set directly to named widgets.
Please see theme README and example themes for more detail.
XH window is undecorated, size/shape and location are autostored, and
window resize/min/max/close are handled with GTK2.

What XH does NOT do?
No attempt on adjusting volume or equalizers. No seekbar, timeline or ID3.
No GTK1.2 support. No complex playlist database features.
External skins or themes are not supported. No shape support.
Also, XH is not a player or a decoder - just the frontend to handle those
with minimal mouse/key clicks.

Building.
Please see the INSTALL file in the source src folder.
No special build dependencies, more or less a regular thing..
tahrpup605-32bit auto-build.sh script is included.
Prebuilt packages may appear in the new posts, somewhere on this page :)

License.
GNU GPLv3 or (at your option) any later version.

Attachments
XH_v04_C-SOURCE.tar.gz
XH version 04, C - source .
(78.37 KiB) Downloaded 6 times
XH with D1 theme.
XH with D1 theme.
xh-04_preview_with_D1_theme.jpg (53.41 KiB) Viewed 101 times
User avatar
torm
Posts: 34
Joined: Thu Aug 06, 2020 3:02 pm
Been thanked: 6 times

Re: XH, a GTK2 player-frontend and themes

Post by torm »

Prebuilt packages of XH v.04 playerfrontend.

Please see comments and screensots in the source package post above.

Note: You will need a commandline audioplayer installed for this thing to work
in the first place. Most Puppy versions have some by default and the Setup dialog
can help to figure out if any commonly used audioplayer is installed and select
one for a filetype.

XH install will not alter current mime-type handling or icon-theme,
so you may want to change the mime-type handling for example of 'MP3 audio' ( audio/mpeg )
from 'defaultaudioplayer "$1"' to 'xh "$1"' in ROX-filer.
Or do something similar for the 'MP3 audio (streamed)' (audio/x-mpegurl) to
xh "$@" shell command to use with ROX.
Shell command can be set with ROX-filer rightclick on a file and selecting "Set Run Action... *"
from the menu.

While XH is still work-in-progress, builds for testing are welcome!
Also corrections on defalt labels and documentation.

Attachments
xh-04_xenialpup75_64bit.pet
Prebuilt XH version 04, for xenialpup7.5 64bit
(60.08 KiB) Downloaded 3 times
xh-04_tahrpup605_32bit.pet
Prebuilt XH version 04, for tahrpup605 32-bit
(59.05 KiB) Downloaded 2 times
xh-04_fossapup905_64bit.pet
Prebuilt XH version 04, for fossapup64_9.5 64-bit
(61.32 KiB) Downloaded 4 times
User avatar
torm
Posts: 34
Joined: Thu Aug 06, 2020 3:02 pm
Been thanked: 6 times

Re: XH, a GTK2 player-frontend and themes

Post by torm »

Reserved for data.

Post Reply

Return to “Multimedia”