Mailing List Archive

[MythTV/mythtv] 3e189d: MythMusic: handle streams that repeat same metadat...
Branch: refs/heads/master
Home: https://github.com/MythTV/mythtv
Commit: 3e189d810c23b00b1948261cab7e12273a7d9fd4
https://github.com/MythTV/mythtv/commit/3e189d810c23b00b1948261cab7e12273a7d9fd4
Author: Timothy Witham <twitham@sbcglobal.net>
Date: 2023-09-26 (Tue, 26 Sep 2023)

Changed paths:
M mythplugins/mythmusic/mythmusic/avfdecoder.cpp
M mythplugins/mythmusic/mythmusic/avfdecoder.h
M mythplugins/mythmusic/mythmusic/musicplayer.cpp

Log Message:
-----------
MythMusic: handle streams that repeat same metadata in changing strings (#791)

* MythMusic: handle streams that repeat same metadata in changing strings

Fixes #790 by parsing the string and updating metadata only if
title/artist/album changes. This ignores extraneous changes like
UTC=time of http://ice-sov.musicradio.com/ClassicFMMP3

* MythMusic: when switching streams, don't reset last track to 00:00

Rather, preserve his play length to that point in time


_______________________________________________
mythtv-commits mailing list
mythtv-commits@mythtv.org
http://lists.mythtv.org/mailman/listinfo/mythtv-commits