mpd xchat plugin SVN
Brought to you by:
dzheika
File | Date | Author | Commit |
---|---|---|---|
bin | 2011-01-12 | dzheika | [r11] * added ebuild & patch for mpd 0.16 (with this... |
ebuilds | 2011-09-04 | dzheika | [r23] (dir) ebuilds{*ebuild,/files/*patch} + new ebui... |
lib | 2011-08-20 | dzheika | [r19] [0.3-pre -> 0.4.0]: |
README | 2011-02-10 | dzheika | [r18] (spell fixes) |
mpd_dzh.py | 2011-08-27 | dzheika | [r22] small mesg fixes |
1. The XChat plugin * Place the script file (mpd_dzh.py) into `~/.xchat2` directory, xchat will load it automatically on startup. Also, you can load it on the fly: [xchat]: /py load mpd_dzh.py or reload: [xchat]: /py reload mpd_dzh * Type: [xchat]: /mpd help *** NOTE: xchat must supports a python scripting 2. The Console implementation * Place the `bin/xmpd` file into your bin directory (usually it's a `~/bin`) and make it executable (chmod +x) * Place the `lib/stub/python/xchat.py` file into `~/lib/stub/python/xchat.py` * Type: user@host:~$ xmpd help *** NOTE: all command extensions should be passed as an options: `/mpdsr` => `xmpd -sr` (but not `xmpd -s -r`) *** NOTE: path to a bin directory should be added to the $PATH environment variable (recommended) *** NOTE: path to a `xchat.py` stub file can be changed, but it requires editing of a `xmpd` script file 3. The extra-tags patch features Introduction: This plugin supports a non-standart tags for displaying information about current song. So, added tags by this patch: [x] Subtitle (>= 0.16) [x] DiscSubtitle (>= 0.16) [+] RomaArtist (>= 0.15.8-r2) [+] RomaAlbum (>= 0.15.8-r2) [+] RomaAlbumArtist (>= 0.16) [+] RomaTitle (>= 0.15.8-r2) [+] RomaSubtitle (>= 0.16) [+] RomaDiscSubtitle (>= 0.16) (x - standart tag, but is not supported by mpd) (+ - non-standart tag, added by me for my purposes) All tags with a 'Roma' prefix are the roma-tags. What are roma-tags? Roma-tags: For japanese (and other) titles tags can be written in a non-latin characters, but not all IRC networks supports unicode... Do you know about (japanese) romanization? So, these tags contains a romanized titles of a song. For example, a 'RomaArtist' tag contains a romanized artist: Artist: 陰陽座 RomaArtist: Onmyouza Using roma-tags: The XChat plugin supports all roma-tags (with a 'Roma' prefix) and uses them as tags with same names without 'Roma' prefix, for example: 'RomaAlbum' tag can be used as 'Album' tag. How to use it? For using it you should add a 'r' postfix to the xchat command: [xchat]: /mpdr [args...] or add a '-r' option to the console command: user@host:~$ xmpd -r [args...] If roma-tags will not be found, then default tags will be used.