Hallo!
Ich suche eine Möglichkeit, MP3Tags aus dem Mediaplayer an ein VB Programm zu übergeben.
Es gibt zwar für Winamp ein Plugin (gen_com.dll), dass dies kann, jedoch habe ich nichts für den Mediaplayer gefunden.
Ich habe in Vb ein Programm geschrieben, dass über den Com-Port Daten an die FIS Schnittstelle eines VW Tachos schickt.
Nun müsste ich noch eine Softwareschnittstelle zwichen dem Mediaplayer und dem Porgramm schreiben, komme aber nicht weiter, bzw habe keine Anhaltspunkte, wie ich anfangen soll.
Hier mal das Protokoll, dass das Programm zur übergabe an das FIS Disyplay verwendet:
Ich suche eine Möglichkeit, MP3Tags aus dem Mediaplayer an ein VB Programm zu übergeben.
Es gibt zwar für Winamp ein Plugin (gen_com.dll), dass dies kann, jedoch habe ich nichts für den Mediaplayer gefunden.
Ich habe in Vb ein Programm geschrieben, dass über den Com-Port Daten an die FIS Schnittstelle eines VW Tachos schickt.
Nun müsste ich noch eine Softwareschnittstelle zwichen dem Mediaplayer und dem Porgramm schreiben, komme aber nicht weiter, bzw habe keine Anhaltspunkte, wie ich anfangen soll.
Hier mal das Protokoll, dass das Programm zur übergabe an das FIS Disyplay verwendet:
-------------------------------------------------------------------------------
Serial Communication to/from "FIS Tool"
Serial command
Byte1 Byte2-31
(RXD) (RXD) Byte2-31 content Action
-------------------------------------------------------------------------------
0xFF none none uC 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
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
0x10 none none uC stops sending FIS data and sets
the relay outputs to connect the
radio lines to the dashboard.
Radio data will then be displayed.
'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
0x82 yes any ASCII character Static text for FIS line 1
followed by 0x00 (FIS displays only first 8 char's)
0x84 yes any ASCII character Static text for FIS line 2
followed by 0x00 (FIS displays only first 8 char's)
0x8A yes any ASCII character Scrolling text for FIS line 1
followed by 0x00 (FIS displays scrolls whole text)
0x8C yes 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 -> 2nd 23456789 ...
FIS line2.: abcdefgh -> bcdefghi ...