UADE kLauncher.sh (modr@dio support)
------------------------------------

Description:
-------------
"uadekLauncher.sh" is a small shellscript using kdialog to launch UADE in an KDE enviroment without using it in (k|c)onsole or xmms.
 
 depends on:
  o sh ;),
  o kdialog
  o uade 0.90 and above (http://uade.ton.tut.fi) for MODS, MEDS, TFMX, DW etc playing.
  o xmp (http://xmp.sf.net) for IT/XM/S3M etc playing
  
 provides:
 open, play, stop, subsongs, modradio support
 x-amiga.desktop file with mime infos for kde
 
 installation:
  - untar and put the script somewhere in you path
    (edit "UADEPREFIX=" and "XMPEXE=" according to your needs)
  - put the x-amiga.desktop to your share/mimelnk/audio/ dir in your local KDE dir if you want
    file associations, etc in kde and konqueror.

 
 using:
 1) either drag and drop an amiga music file such as tfmx, mods, meds, dw, jo, smus, rjp... etc, etc on the script in konqueror
 2) call the script with...
    a) a local song file as parameter
    b) a local m3u playlist as parameter
    c) a remote song URL as parameter (caches the file locally for speed up)
    d) a remote m3u URL as parameter
    
       (e.g. b2rr mod radio playlists:
        www.back2roots.org/Play/Turgican%20RMX%2C1/WinAmp.m3u
	www.back2roots.org/Play/Megashwett%2C1/WinAmp.m3u
	www.back2roots.org/Play/Games%20%40%20Back2Roots%2C1/Infk/WinAmp.m3u
	www.back2roots.org/Play/Chips%20%40%20Back2Roots%2C1/Infk/WinAmp.m3u
	www.back2roots.org/Play/Scene%20%40%20Back2Roots%2C1/Infk/WinAmp.m3u
 
 3) run the script and select a file with kdialogs openfilerequester
 4) associate the Amiga music files to the launcher script as default application
 
 
 
 have fun,
 
 mld/uade team

 
Changelog:
----------
0.01 initial version:
 (comes with uade 0.90)
 
 0.02
 complete rewrite
 
 0.03
 fixed "empty filename" when opening new song and small fixes
 
 0.04
 gracefully ignoring QT's/KDE's stderr msgs ;)
 first subsong fixes

 0.05
 Subsong consistency fix. Subsong 0 now always plays a song with no special subsong set (it lets the replayer decide what to play)
 x-amiga.desktop file for Amiga Music files (for mimelnk)

 0.06
 modulename, player and formatname, current/minimum/maximum subsong number parsing
 
 0.06b (bugfix)
 fixed absolute path to uade parsing modinfo
 
 0.07
 modinfo fix for empty 1st subsong (now it should be finally foolproof *g)
 added pal/ntsc speed toggle (e.g. swiv-hiscore.mod, Cust.Defender of the crown, eg)
 
 0.08
 added stereo seperation toggle/channel mixing (left channel:70 r:%30%, right channel r:30 l:%70), for listening with headphones etc.
 
 0.09
 added support for simple m3u playlist handling
 added support for remote file handling
 KNOWN BUGS: broken spaces in filename handling, messy code :)