Plugin:Watrack/en: Difference between revisions

From Miranda NG
Plugin:Watrack/en
Jump to navigation Jump to search
No edit summary
(Updating to match new version of source page)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{PluginCard}}
<languages/>{{PluginCard}}
Paste played music info into message window or status text. ICQ extended status supported.
Paste played music info into message window or status text.




Line 6: Line 6:


== Supported players ==
== Supported players ==
* [http://www.winamp.com Winamp]
{{Content:Watrack/SupportedPlayers}}
* [http://www.iki.fi/hy/apollo/ Apollo]
* {{Plugin|mRadio}} (Miranda plugin)
* [http://mpesch3.de1.cc 1by1]
* and other players. See <tt>player.ini</tt> for full list.
* [http://gabest.org Media Player Classic]
* [http://www.microsoft.com/windows/windowsmedia/players.aspx Window Media Player]
* [http://www.foobar2000.org FooBar2000]
* [http://www.softella.com LightAlloy]
* [http://www.jetaudio.com Cowon JetAudio]
* [http://quinnware.com Quintessential Player]
* [http://www.itunes.com iTunes]
* [http://www.mediamonkey.com MediaMonkey]
* [http://www.real.com Real Player]
* [http://www.musikcube.com MusikCube]
* [http://www.bsplayer.org BSPlayer]
* [http://www.rodi.dk/musiccubeone.php MusicCube One]
* [http://www.inmatrix.com Zoom Player]
* [http://pluton.oss.ru Pluton]
* [http://www.jrmediacenter.com J. River Media Center]
* [http://wwwp.musicmatch.com Musicmatch Jukebox]
* [http://www.videolan.org VideoLAN media player]
* {{Plugin|mRadio|mRadio Miranda plugin}}
* [http://www.altools.net ALSong&ALShow]
and others. See <tt>player.ini</tt> for full list of players.
 


== 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}
|'italic' text
|-
|{u}text{/u}
|'undeline' text
|-
|{cf##}text{/cf}
|text with color ## (0-15)
|-
|-
|{bg##}text{/bg}
|style="vertical-align:top;"|
|text with background color ## (0-15)
* 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)
|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}listen{/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 85: Line 79:
|-
|-
|%fps%
|%fps%
|100*FPS (Frames Per Second) for video files
|100*FPS (frames per second) for video files
|-
|-
|%height%
|%height%
Line 96: Line 90:
|bitrate
|bitrate
|-
|-
|%khz%  
|%khz%
|sample rate
|sample rate
|-
|-
Line 118: Line 112:
|-
|-
|%samplerate%
|%samplerate%
|samplerate
|sample rate
|-
|-
|%size%
|%size%
Line 145: Line 139:
|-
|-
|%vbr%
|%vbr%
|'VBR' if VBR :)
|display 'VBR' if bitrate is variable
|-
|-
|%version%  
|%version%
|player version
|player version
|-
|-
|%width%  
|%width%
|video width in pixels
|video width in pixels
|-
|-
Line 156: 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 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
* To obtain more information from foobar2000 player, you must [http://foosion.foobar2000.org/0.9/foo_comserver2-0.7-setup.exe download plugin] or use <tt>foo_winamp_spam</tt> plugin
* To obtain more information from foobar2000 player, [http://foosion.foobar2000.org/0.9/foo_comserver2-0.7-setup.exe download this plugin] or use <tt>foo_winamp_spam</tt> plugin
* FileInfo (called from popup) doesn't show Video file properties
* FileInfo (called from popup) doesn't show video file properties
* FPS saves as FPS*100
* FPS saves as FPS*100
* Frame text output is Left-to-Right only now
* Frame text output is now left-to-right only
 
To compile plugin you must use something like this:
<pre style="overflow:auto;">
dcc32 -$A+ -$H+ watrack.dpr
</pre>


== Known problems ==


== Known bugs ==
* 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
* Miranda can freeze if Foobar OLE interface used
* Miranda can freeze if Foobar OLE interface used
* Player can start again if OLE checks while it shutdown
* Player can start again if OLE checks while it shuts down
* ICQLite and ICQ2003 users cannot see xStatus text changes
* ICQLite and ICQ2003 users cannot see xStatus text changes
* In MP3 with VBR total song time sometime is not properly calculated
* In <tt>MP3</tt> with VBR total song time sometime is not properly calculated
* Default color of formatted text is color of text at insert position
* Default color of formatted text is color of text at insert position
* Some macros don't work with some players. Replaced by <nowiki>''</nowiki> and 0
* Some macros don't work with some players. Replaced by <nowiki>''</nowiki> and 0
* 1by1 player can show wrong elapsed time value
* 1by1 player can show wrong elapsed time value
* Some players version not properly displayed
* Version numbers of some players are not displayed properly
* Bad MP3 headers not properly handled
* Bad <tt>MP3</tt> headers are not properly handled
* 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 wishes 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