Skip to content

Fix icy metadata title#1

Open
bastengao wants to merge 16 commits intomarkfili:masterfrom
bastengao:fix-icy-metadata-title
Open

Fix icy metadata title#1
bastengao wants to merge 16 commits intomarkfili:masterfrom
bastengao:fix-icy-metadata-title

Conversation

@bastengao
Copy link

metaGroup may have multiple itmes, for example below.

<AVTimedMetadataGroup: 0x6000016cc0b0, timeRange={{418176/44100 = 9.482}, {1/44100 = 0.000}}, items=(
    "<AVMutableMetadataItem: 0x6000014dcf60, identifier=icy/StreamTitle, keySpace=icy, key class = __NSCFConstantString, key=StreamTitle, commonKey=title, extendedLanguageTag=(null), dataType=(null), time={418176/44100 = 9.482}, duration={1/44100 = 0.000}, startDate=(null), extras={\n}, value class=__NSCFString, value=Johann Sebastian Bach - Brandenburg Concerto No.3 in G major (1)>",
    "<AVMutableMetadataItem: 0x6000014dcfe0, identifier=icy/UTC, keySpace=icy, key class = NSTaggedPointerString, key=UTC, commonKey=(null), extendedLanguageTag=(null), dataType=(null), time={418176/44100 = 9.482}, duration={1/44100 = 0.000}, startDate=(null), extras={\n}, value class=__NSCFString, value=20230627T100653.383>"
)>

I reference react-native-track-player , it's better to use common identifier to retrieve title.

@markfili
Copy link
Owner

Hi, @bastengao, sorry for such a late response, I've missed this. If you still use this repo, please rebase your pull request on the latest master branch and I will merge it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants