Quantcast
Channel: Rainmeter Forums
Viewing all articles
Browse latest Browse all 145

General Discussion • Re: HTML & Meta Information Audio/Video Files

$
0
0
Is it possible to read the media information of an audio or video file using a self-created website?
If the html code contains the information you can read them. In this case the title can be definitely read. As you most probably know, you need a parent and the approperiate number of child measures. For instance:

Code:

[MeasureRainmeter]Measure=WebParserUpdateRate=600Url=POST-THE-PROPER-URL-HERERegExp=(?siU)<p><strong>Titel:</strong> <span id="title">(.*)</span></p>DecodeCharacterReference=3[MeasureTitle]Measure=WebParserUrl=[MeasureRainmeter]DecodeCharacterReference=3StringIndex=1
Make sure to add the proper URL to the URL option of the [MeasureRainmeter] measure.
It would also be interesting to read the information sent from a web stream of radio stations (usually in .m3u stream format).
This is a much harder thing. For first I tend to say this is not quite possible, however some details are needed for a better reply.

Statistics: Posted by balala — March 16th, 2025, 8:18 pm



Viewing all articles
Browse latest Browse all 145

Trending Articles