GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
gpsh(1) hxtools gpsh(1)

gpsh — select audio files by name and play them

gpsh [-F index.m9u] [-OM,opt] [-blvxz] patterns...

gpsh is a utility that will search the current directory for audio/video files by matching their path and filename with regular expression patterns presented on the command line, and feeding them to a multimedia player. gpsh is capable of reading special tracklist files which contain subtrack names and their associated time positions.

When no pattern is given, all entries are selected. By default, all entries which matched a particular pattern are played back in random order, but order between patterns is retained.

Give the path to the master index file. It is just a dump of the internal array state in Perl form, so M9U is not exactly a format of its own. This index contains: filename, and title and offset (for subtracks inside mixes).
Pass an extra argument to mplayer.
Do index rebuild in foreground.
Only grep the database.
Do print the playlist (can be very long).
Ignore subtracks in a mix, and also avoid reindexing of VBR files.
Do not shuffle the play queue / play back in lexicographic order.
Passes the -loop option to mplayer. Note that the option has two dashes for gpsh.

gpsh keeps an index cache, and refreshes it in the background when it is older than a day. If there is no index yet, playing files will be delayed until it exists. Directories and files whose name without extension ends in "_noindex" will be skipped.

gpsh scans all .tls files for the following pattern used to denote a subtrack in a big mix of the same basename:

/^\[(?:(+):)?(+):(+)\](.*)/

Example: Audio file: "DJ Doboy - Trancequility volume 01.mp3", Tracklist: "DJ Doboy - Trancequility volume 01.tls", TL content: "[48:29] Paul van Dyk - For an angel".

gpsh uses a Perl regular expression search across file name (mix name, if any) and subtrack name.

Example: gpsh 'doboy.*trancequility.*paul.van.dyk'

Would cause gpsh to search for all PVD tracks in Doboy's Trancequility mixes. mplayer will be invoked on "DJ Doboy - Trancequility volume 01.mp3" with automatic seeking to position 48:29, for example.

gpsh -OM,-af-clr chillout

Will invoke mplayer instances with the "-af-clr" option.

hxtools(7)

2015-03-11 hxtools

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.