Forum:	Developer
Téma:	MP3Tag aus Mediaplayer an andere Programme übergeben
------------------------------------------------------------

Suicider:
Hallo!
Evtl kennt der ein oder andere das Programm &quot;FIS Fool&quot; von Mathias Klumpp ( Webseite )
Leider funktioniert das Toll nur in Verbindung mit Winamp.
Da Cpos und CES aber auf dem WMP aufbauen, ist die verwendung nicht ohne weiteres möglich.
Nun die Frage an unsere Programmierer:
Ist es möglich, eine Schnittstelle zwischen WMP und dem FIS Fool zu programmieren und wie setze ich an?
Ich müsste ja ein Plug-in schreiben, dass die MP3Tags so verarbeitet, dass das FIS Fool sie versteht.
Das Protokoll für FIS Fool lautet wie folgt:
Zitat:
Serial Communication to/from &quot;FIS Fool&quot;
Serialcommand
Byte1 Byte2-31 
(RXD) (RXD) Byte2-31 contentAction
-------------------------------------------------------------------------------
0xFFnonenoneuC outputs version info
on serial TXD line:
Byte1: Version info byte 1
Byte2: Version info byte 2
Byte3: Version info byte 3
Note: The version number can be calculated in the following way:
Byte1: Not to be considered
Version = (Byte1 * 0x10000) + (Byte2 * 0x100) + (Byte3)
Example:
Byte1 = 0x01
Byte2 = 0x86
Byte3 = 0xA0
Version = (0x01 * 0x10000) + (0x86 * 0x100) + (0xA0)
= (0x10000 ) + ( 0x8600 ) + (0xA0)
= 0x186A0
= 100000d
= V1.0.00.0.0
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
0x10nonenoneuC stops sending FIS data and sets
the relay outputs to connect the
radio lines to the dashboard.
Radio data will then be displayed.
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
0x82yes any ASCII character Statictext for FIS line 1
followed by 0x00(FIS displays only first 8 char's)
0x84yes any ASCII character Statictext for FIS line 2
followed by 0x00(FIS displays only first 8 char's)
0x8Ayes any ASCII character Scrolling text for FIS line 1
followed by 0x00(FIS displays scrolls whole text)
0x8Cyes any ASCII character Scrolling text for FIS line 2
followed by 0x00(FIS displays scrolls whole text)
General:
- All ASCII data must be terminated with 0x00
- Any ASCII data longer than 30 characters will be ignored.
- ASCII data shorter than 8 bytes (line length of FIS) is automatically
filled with blanks.
Examples:
(1) Display first 8 char's in line 1 of FIS:
HEX.......: 80,31,32,33,34,35,36,37,38,61,62,63,64,65,66,67,68,00
ASCII.....: --, 1, 2, 3, 4, 5, 6, 7, 8, a, b, c, d, e, f, g, h,--
FIS line1.: 12345678
FIS line2.: empty
(2) Display first 8 char's in line 1 and line 2 of FIS:
HEX.......: 80,31,32,33,34,35,36,37,38,00
ASCII.....: --, 1, 2, 3, 4, 5, 6, 7, 8,--
HEX.......: 81,61,62,63,64,65,66,67,68,00
ASCII.....: --, a, b, c, d, e, f, g, h,--
FIS line1.: 12345678
FIS line2.: abcdefgh
(3) Display scrolling text in line 1 and line 2 of FIS:
HEX.......: 80,31,32,33,34,35,36,37,38,39,00
ASCII.....: --, 1, 2, 3, 4, 5, 6, 7, 8, 9,--
HEX.......: 81,61,62,63,64,65,66,67,68,69,00
ASCII.....: --, a, b, c, d, e, f, g, h, i,--
FIS line1.: 1st 12345678 -&gt; 2nd 23456789 ...
FIS line2.: abcdefgh -&gt; bcdefghi ...

Ich habe mich bereits mit Herrn Klumpp in Verbindung gesetzt und folgendes erfahren:
Zitat:
Meine Frage: 
Wie ist es möglich,ID3Tag Infos so zu verarbeiten, das sie
a) an die Serielle Schnittstelle geleitet werden und
b) für die FISFool Platine verständlich sind?
Antwort:
Aufbereitung der Tags auf dem PC (wie auch immer).
Für Winamp gibt es z.B. eine gen_com.dll mit der sich die Infos aus Winamp in ein VB Programm bringen lassen. Also müßte z.B. ein VB Front-End her, das die Zwischenschicht zwischen Winamp und dem FIS-Fool macht. in VB läßt sich dann auch die RS232 entsprechend bedienen.
Das Protokoll zum FIS-Fool ist hier beschrieben:
http://home.tiscali.de/matthiasklumpp/FisFool/Graphics/FISFool_Description.txt

Evtl kann mir ja einer unserer Frontendler ja bei der Realisierung helfen oder mir wenigstens die richtige Richtung zeigen.
Danke

Ucla:
Sehr interessante geschichte...funktioniert aber wohl nur im großen FIS! Hab selber nur &quot;das Halbe&quot; -grafische für diverse Service Anzeigen etc.

Suicider:
Sobald dein FIS auch die Infos des Radios anzeigen kann, geht das mit dem Interface auch.
