Plugin:Watrack: Difference between revisions

From Miranda NG
Plugin:Watrack
Jump to navigation Jump to search
(add invisible additional translation unit for translations for cases where needed)
(Marked this version for translation)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
<languages/>{{PluginCard}}
<languages/>{{PluginCard}}
<translate>
<translate>
<!--T:1-->
Paste played music info into message window or status text.
Paste played music info into message window or status text.
</translate>
</translate>
Line 8: Line 9:


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


== Supported formats ==
== Supported formats == <!--T:4-->
</translate>
</translate>
{|class="wikitable" width="100%" border="1" cellspacing="0" cellpadding="3" rules="all" style="border:solid black; background-color:white;"|
{|class="wikitable" width="100%" border="1" cellspacing="0" cellpadding="3" rules="all" style="border:solid black; background-color:white;"|
!style="background-color:#BD0000;color:white;"|<translate>Audio formats</translate>
!style="background-color:#BD0000;color:white;"|<translate><!--T:5--> Audio formats</translate>
!style="background-color:#BD0000;color:white;"|<translate>Video formats</translate>
!style="background-color:#BD0000;color:white;"|<translate><!--T:6--> Video formats</translate>
!style="background-color:#BD0000;color:white;"|<translate>Container formats</translate>
!style="background-color:#BD0000;color:white;"|<translate><!--T:7--> Container formats</translate>
|-
|-
|style="vertical-align:top;"|
|style="vertical-align:top;"|
Line 55: Line 58:


<translate>
<translate>
== Variables ==
== Variables == <!--T:8-->


<!--T:9-->
This plugin provides the following variables for the {{Plugin|Variables}} plugin (but can also be used without it):
This plugin provides the following variables for the {{Plugin|Variables}} plugin (but can also be used without it):
</translate>
</translate>
Line 184: Line 188:


<translate>
<translate>
== Notes ==
== Notes == <!--T:10-->


<!--T:11-->
* 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 193: Line 198:
* Frame text output is now left-to-right only
* Frame text output is now left-to-right only


== Known problems ==
== Known problems == <!--T:12-->


<!--T:13-->
* 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 208: Line 214:
* Plugin can show wrong song when player scans directory for music files
* Plugin can show wrong song when player scans directory for music files


<!--T:14-->
<!-- This is for additional section for translations -->
<!-- This is for additional section for translations -->
<!-- If you need it, then add header together with its content -->
<!-- If you need it, then add header together with its content -->

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