bpa wrote:
> Example of the issues from the NBC news feed you ref
>
> The XML for one item in the list. When parsing the XML it is assumed to
> be playlist and the *itunes:duration* and *enclosure* are the main items
> used items. Note the use of itunes tags and also *length* is zero !!
> >
Code:
--------------------
> >
> <item>
> <title>Omar cites corruption, ineptitude among reasons to impeach
Trump</title><description>9:00 Racist Trump spectacle distracts from other
damaging Trump news
> <br>9:27 Omar cites corruption, ineptitude among reasons to impeach Trump
> <br>9:41 Clinton warning about Trump 'deportation force' proves prescient
> <br>9:46 Trump moves to effectively end asylum, family separations ongoing
> <br>9:56 Trump set to decimate USDA research, fire hundreds of scientists
> <br>9:59 Maddow: 'It's a dark time with the president leading this
way'<br><br>Learn more about your ad choices. Visit <a
href="https://megaphone.fm/adchoices">megaphone.fm/adchoices</a></description>
> <pubDate>Tue, 16 Jul 2019 02:59:00 -0000</pubDate>
> <itunes:author>Rachel Maddow, MSNBC</itunes:author>
> <itunes:title>Omar cites corruption, ineptitude among reasons to impeach
Trump</itunes:title>
> <itunes:episodeType>full</itunes:episodeType>
> <itunes:subtitle>Plus, what Trump is likely trying to distract Americans
from with his racist antics</itunes:subtitle>
> <itunes:summary>9:00 Racist Trump spectacle distracts from other damaging
Trump news
> <br>9:27 Omar cites corruption, ineptitude among reasons to impeach Trump
> <br>9:41 Clinton warning about Trump 'deportation force' proves prescient
> <br>9:46 Trump moves to effectively end asylum, family separations ongoing
> <br>9:56 Trump set to decimate USDA research, fire hundreds of scientists
> <br>9:59 Maddow: 'It's a dark time with the president leading this
way'<br><br>Learn more about your ad choices. Visit <a
href="https://megaphone.fm/adchoices">megaphone.fm/adchoices</a></itunes:summary>
> <ITUNES:DURATION>2783</ITUNES:DURATION>
> <itunes:explicit>no</itunes:explicit>
> <guid isPermaLink="false">c6980e12-9c35-11e9-89d5-6377425b6bc0</guid>
> <ENCLOSURE
URL=\"HTTPS://WWW.PODTRAC.COM/PTS/REDIRECT.MP3/TRAFFIC.MEGAPHONE.FM/NBCN2041603079.MP3\"
LENGTH=\"0\" TYPE=\"AUDIO/MPEG\"/>
> </item>
>
--------------------
> >
>
> dump of ID3 metadata for the file is
> >
Code:
--------------------
> >
> Input #0, mp3, from 'NBCN2041603079.mp3':
> Metadata:
> title : Omar cites corruption, ineptitude among reasons to
impeach Trump
> comment : Plus, what Trump is likely trying to distract Americans
from with his racist antics
> lyrics-ENG : 9:00 Racist Trump spectacle distracts from other damaging
Trump news
> : <br>9:27 Omar cites corruption, ineptitude among reasons to impeach Trump
> : <br>9:41 Clinton warning about Trump 'deportation force' proves prescient
> : <br>9:46 Trump moves to effectively end asylum, family separations
ongoing
> : <br>9:56 Trump set to decimate USDA research, fire hundreds of scientists
> : <br>9:59 Maddow: 'It's a dark time with the president leading this way'
> album : The Rachel Maddow Show
> genre : Podcast
> date : 2019
> * Duration: 00:45:13.86,* start: 0.000000, bitrate: 96 kb/s
> Stream #0:0: Audio: mp3, 44100 Hz, mono, s16p, 96 kb/s
> Stream #0:1: Video: mjpeg, yuvj420p(pc, bt470bg/unknown/unknown), 500x500
[SAR 72:72 DAR 1:1], 90k tbr, 90k tbn, 90k tbc
> Metadata:
> title : image
> comment : Other
>
--------------------
> >
>
> ID3 tag duration is 45:13.86 which is 2713.86 sec. The XML
> *itunes:duration* says length is 2783.
>
> Both are purely info - the actual number of bytes will determine the
> length of the file - so which is LMS supposed to choose ? LMS won't
> have the ID3 tag info until it starts actually playing the remote
> file.
I see the problem. But shouldn't this problem exist for iTunes or
whatever other people use as well? If not, why not?
I tried the latest TRMS podcast:
Code:
--------------------
<itunes:duration>2804</itunes:duration>
--------------------
That's 46:44 (XML).
LMS shows:
47:05 on load (why?)
45:59 on start (That's in the ID3 tag)
Where does the 47:05 duration info come from?
QLMS [email protected] x64 (digimaster) with perl 5.28 dedicated to me. :D /
QNAP 469L QTS 4.3.4
------------------------------------------------------------------------
dolodobendan's Profile: http://forums.slimdevices.com/member.php?userid=67663
View this thread: http://forums.slimdevices.com/showthread.php?t=109017
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter