Plugin:Watrack/en: Difference between revisions

From Miranda NG
Plugin:Watrack/en
Jump to navigation Jump to search
m (removed stray bytes)
(Updating to match new version of source page)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{PluginCard}}
<languages/>{{PluginCard}}
Paste played music info into message window or status text. ICQ {{GlossLink|xStatus|extended status}} supported.
Paste played music info into message window or status text.




Line 7: Line 7:
== Supported players ==
== Supported players ==
{{Content:Watrack/SupportedPlayers}}
{{Content:Watrack/SupportedPlayers}}
and others. See <tt>player.ini</tt> for full list of players.
* {{Plugin|mRadio}} (Miranda plugin)
* and other players. See <tt>player.ini</tt> for full list.


== Supported formats ==
== Supported formats ==
<pre style="overflow:auto;">
{|class="wikitable" width="100%" border="1" cellspacing="0" cellpadding="3" rules="all" style="border:solid black; background-color:white;"|
MP3, OGG, WMA, WAV, APE, TTA, AAC, FLA/FLAC, MPC, OFR/OFS, SPX, MP4, M4A, ASF, WMV, AVI, MKV, OGM, RA/RM/RAM, FLV, MOV, 3GP, MPEG/MPG
!style="background-color:#BD0000;color:white;"|Audio formats
</pre>
!style="background-color:#BD0000;color:white;"|Video formats
 
!style="background-color:#BD0000;color:white;"|Container formats
In chat (and maybe message) window, you can use text formatting:
{|
|{b}text{/b}
|'bold' text
|-
|-
|{i}text{/i}
|style="vertical-align:top;"|
|'italic' text
* Advanced Audio Coding (AAC)
|-
* Monkey’s Audio (APE)
|{u}text{/u}
* Free Lossless Audio Codec (FLAC)
|'undeline' text
* MPEG-1 Audio Layer 3 (MP3)
|-
* Musepack (MPC)
|{cf##}text{/cf}
* OptimFROG (OFR)
|text with color ## (0-15)
* OptimFROG DualStream (OFS)
|-
* Real Audio (RA)
|{bg##}text{/bg}
* Speex (SPX)
|text with background color ## (0-15)
* The True Audio (TTA)
* WAVE (WAV)
* Windows Media Audio (WMA)
* WavPack (WV)
|style="vertical-align:top;"|
* 3gp (3GP)
* Audio Video Interleaved (AVI)
* Adobe Flash Quelldateien (FLA)
* Flash Video (FLV)
* QuickTime (MOV)
* MPEG-Streams (MPG)
* RealMedia (RM)
* Windows Media Video (WMV)
|style="vertical-align:top;"|
* Advanced Streaming Format (ASF)
* MPEG-4-Audio (M4A)
* MPEG-4 (MP4)
* Matroska (MKV)
* Ogg-Container (OGG)
* Ogg Media Stream (OGM)
* RealMedia (RAM)
|}
|}
Sample:
<pre style="overflow:auto;">
/me {b}listening{/b} {cf5}{i}%artist%{/i}{/cf} - {bg10}{u}"%title%"{/u}{/bg}
</pre>


Macros:
== Variables ==
 
This plugin provides the following variables for the {{Plugin|Variables}} plugin (but can also be used without it):
 
{|
{|
|%album%
|%album%
Line 74: Line 90:
|bitrate
|bitrate
|-
|-
|%khz%  
|%khz%
|sample rate
|sample rate
|-
|-
Line 125: Line 141:
|display 'VBR' if bitrate is variable
|display 'VBR' if bitrate is variable
|-
|-
|%version%  
|%version%
|player version
|player version
|-
|-
|%width%  
|%width%
|video width in pixels
|video width in pixels
|-
|-
Line 134: Line 150:
|title from player window (usually "artist" - "title")
|title from player window (usually "artist" - "title")
|-
|-
|%year%  
|%year%
|song year (from tag)
|song year (from tag)
|}
|}


In chat (and maybe message) window, you can use text formatting:
{|
|{b}text{/b}
|'bold' text
|-
|{i}text{/i}
|'italic' text
|-
|{u}text{/u}
|'undeline' text
|-
|{cf##}text{/cf}
|text with color ## (0-15)
|-
|{bg##}text{/bg}
|text with background color ## (0-15)
|}
Sample:
<pre style="overflow:auto;">
/me {b}listening{/b} {cf5}{i}%artist%{/i}{/cf} - {bg10}{u}"%title%"{/u}{/bg}
</pre>


== Notes ==
== Notes ==
* Volume field has an original volume value in hiword and is scaled to 0-15 range in loword. Not all players supported.
* Volume field has an original volume value in hiword and is scaled to 0-15 range in loword. Not all players supported.
* Frame background picture transparency is not implemented
* Frame background picture transparency is not implemented
Line 147: Line 185:
* Frame text output is now left-to-right only
* Frame text output is now left-to-right only


== Known problems ==


== Known problems ==
* If frame text uses <tt>%time%</tt> macro, text can't scroll
* If frame text uses <tt>%time%</tt> macro, text can't scroll
* Foobar seeking with <tt>foo_winamp_spam</tt> may not work
* Foobar seeking with <tt>foo_winamp_spam</tt> may not work
Line 162: Line 200:
* Plugin can show wrong song when player scans directory for music files
* Plugin can show wrong song when player scans directory for music files


 
<!-- This is for additional section for translations -->
== Feedback ==
<!-- If you need it, then add header together with its content -->
All comments, errors and suggestions please send to <tt>awkward@land.ru</tt> or <tt>panda75@bk.ru</tt>
<!-- == Additional info == -->


{{PluginGroups}}
{{PluginGroups}}

Latest revision as of 22:23, 31 December 2017

Winamp Track
No image
Filename Watrack.dll
Author Awkward
Download links
Stable version: 32-bit, 64-bit
Development version: 32-bit, 64-bit

Paste played music info into message window or status text.


Supported players

Supported formats

Audio formats Video formats Container formats
  • Advanced Audio Coding (AAC)
  • Monkey’s Audio (APE)
  • Free Lossless Audio Codec (FLAC)
  • MPEG-1 Audio Layer 3 (MP3)
  • Musepack (MPC)
  • OptimFROG (OFR)
  • OptimFROG DualStream (OFS)
  • Real Audio (RA)
  • Speex (SPX)
  • The True Audio (TTA)
  • WAVE (WAV)
  • Windows Media Audio (WMA)
  • WavPack (WV)
  • 3gp (3GP)
  • Audio Video Interleaved (AVI)
  • Adobe Flash Quelldateien (FLA)
  • Flash Video (FLV)
  • QuickTime (MOV)
  • MPEG-Streams (MPG)
  • RealMedia (RM)
  • Windows Media Video (WMV)
  • Advanced Streaming Format (ASF)
  • MPEG-4-Audio (M4A)
  • MPEG-4 (MP4)
  • Matroska (MKV)
  • Ogg-Container (OGG)
  • Ogg Media Stream (OGM)
  • RealMedia (RAM)

Variables

This plugin provides the following variables for the Variables plugin (but can also be used without it):

%album% album
%artist% artist
%bitrate% bitrate
%channels% number of channels
%codec% video codec like 0x30355844 (DX50)
%comment% comment from tag
%cover% cover file name
%file% media file name
%fps% 100*FPS (frames per second) for video files
%height% video height in pixels
%genre% genre
%kbps% bitrate
%khz% sample rate
%length% total song length (sec)
%lyric% lyrics text
%mono% "mono"/"stereo"
%nstatus% player status (stopped, playing, paused) - non-translated
%percent% %time% / %total% * 100%
%player% player
%samplerate% sample rate
%size% media file size
%status% player status (stopped, playing, paused)
%time% current song position (sec)
%title% song title
%total% total song length (sec)
%track% track number
%txtver% player version in text format
%type% media file type (extension)
%vbr% display 'VBR' if bitrate is variable
%version% player version
%width% video width in pixels
%wndtext% title from player window (usually "artist" - "title")
%year% song year (from tag)

In chat (and maybe message) window, you can use text formatting:

{b}text{/b} 'bold' text
{i}text{/i} 'italic' text
{u}text{/u} 'undeline' text
{cf##}text{/cf} text with color ## (0-15)
{bg##}text{/bg} text with background color ## (0-15)

Sample:

/me {b}listening{/b} {cf5}{i}%artist%{/i}{/cf} - {bg10}{u}"%title%"{/u}{/bg}

Notes

  • Volume field has an original volume value in hiword and is scaled to 0-15 range in loword. Not all players supported.
  • Frame background picture transparency is not implemented
  • To obtain more information from foobar2000 player, download this plugin or use foo_winamp_spam plugin
  • FileInfo (called from popup) doesn't show video file properties
  • FPS saves as FPS*100
  • Frame text output is now left-to-right only

Known problems

  • If frame text uses %time% macro, text can't scroll
  • Foobar seeking with foo_winamp_spam may not work
  • Miranda can freeze if Foobar OLE interface used
  • Player can start again if OLE checks while it shuts down
  • ICQLite and ICQ2003 users cannot see xStatus text changes
  • In MP3 with VBR total song time sometime is not properly calculated
  • Default color of formatted text is color of text at insert position
  • Some macros don't work with some players. Replaced by '' and 0
  • 1by1 player can show wrong elapsed time value
  • Version numbers of some players are not displayed properly
  • Bad MP3 headers are not properly handled
  • Plugin can show wrong song when player scans directory for music files