AIMP Forum

Разное => Предложения (архив) => Архив => Реализовано в AIMP v4.60 => Topic started by: gustavom on June 25, 2019, 04:36:00

Title: HLS (m3u8) Stream Metadata (ID3) Update
Post by: gustavom on June 25, 2019, 04:36:00
HSL Stream - Metadata Update (ID3)

During my test with streaming in HLS I noticed that the name of what is playing is 'fixed' in the first name that was informed.
But when it comes to Radio Streaming for example, the name of the song changes but the AIMP does not identify because it does not read the ID3 of the HLS Segment.

With the increase in the use of HLS it would be very good to have the AIMP.
Title: Re: HLS (m3u8) Stream Metadata (ID3) Update
Post by: sveakul on June 25, 2019, 18:39:14
I don't know if it will help with your problem, but you could try updating to the latest version of basshls.dll, which is version 2.4.2 dated 03/12/2019: http://www.un4seen.com/download.php?basshls24 (http://www.un4seen.com/download.php?basshls24)

After you extract the 32-bit basshls.dll, rename it to "bass_hls.dll" and copy it into the bass_hls plugins folder, overwriting the original.  You can rename the existing dll first in case you decide to revert.

Title: Re: HLS (m3u8) Stream Metadata (ID3) Update
Post by: gustavom on June 26, 2019, 21:30:35
I did the replacement here, it does not solve my problem, but when I read the document, I came across this:

Quote
BASS_SetConfig(
    BASS_CONFIG_HLS_DOWNLOAD_TAGS,
    BOOL tags
);

Parameters
tage   If TRUE, DOWNLOADPROC callback functions will receive ID3v2 tags.
Remarks
When this option is enabled, a stream's DOWNLOADPROC callback function will receive any ID3v2 tags that the stream contains. This option does not affect the availability of ID3v2 tags from BASS_ChannelGetTags.
The default setting is FALSE. Changes only affect subsequently created HLS streams, not any that already exist.


Maybe in the AIMP (programming) is using the Default value, so it did not update the metadata.

Doc: http://www.un4seen.com/doc/#basshls/BASS_CONFIG_HLS_DOWNLOAD_TAGS.html (http://www.un4seen.com/doc/#basshls/BASS_CONFIG_HLS_DOWNLOAD_TAGS.html)


-----------------------
Note: if you want to test, I'm currently testing through streaming: http://hls.hunter.fm/teste.m3u8 (http://hls.hunter.fm/teste.m3u8)
Title: Re: HLS (m3u8) Stream Metadata (ID3) Update
Post by: Artem on June 26, 2019, 21:44:04
Note: if you want to test, I'm currently testing through streaming: http://hls.hunter.fm/teste.m3u8 (http://hls.hunter.fm/teste.m3u8)

Thank you!
Title: Re: HLS (m3u8) Stream Metadata (ID3) Update
Post by: sveakul on June 26, 2019, 23:40:45
Good find, gustavom!

Artem:  it looks like this option was not made available until version 2.4.2 of the dll, according to the changelog:

2.4.2 - 12/3/2019
-----------------
....
* Receiving ID3v2 tags in DOWNLOADPROCs is now optional
   BASS_CONFIG_HLS_DOWNLOAD_TAGS


Title: Re: HLS (m3u8) Stream Metadata (ID3) Update
Post by: Artem on June 27, 2019, 07:01:51
The BASS_CONFIG_HLS_DOWNLOAD_TAGS is not useful for me.
Title: Re: HLS (m3u8) Stream Metadata (ID3) Update
Post by: gustavom on September 12, 2019, 02:56:54
Hello Artem,

I just upgraded my AIMP to v4.60, build 2146; It is updating HLS perfectly.
Many thanks for the implementation!