philippe_44 wrote:
> I donĂ‚’t know... it looks like the HTML::Entities parsing is not
> being used
For me the latest version seems to be working so far.
But I am curious how do you know that in Mordac's case HTML::Entities
are not being used? When I look at the code, the http content is printed
to the log on line 365 before the clean up occurs, no? So is what we are
seeing in the log not just the raw content before HTML:Entities is
involved?
What I find curious in this log is the mention of "adaptive_fmts" on
line 3121 of the log. That implies that the search for adaptiveFormats
failed and it shifted to the next item to try which is "adaptive_fmts".
On a side note, that code could be strengthened a bit because it
actually fails as well but there is no check in that case, hence why the
log prints "adaptive_fmts" info as blank.
To me it seems it would help to output $content to the log just before
the check for adaptiveFormats occurs on line 390 to see what it looks
like at that point which might explain why the regular expression is not
finding it.
Code:
--------------------
my ($streams) = $content =~ /\"adaptiveFormats\":(\[.*?\])/;
--------------------
------------------------------------------------------------------------
dawansv's Profile: http://forums.slimdevices.com/member.php?userid=22248
View this thread: http://forums.slimdevices.com/showthread.php?t=105840
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins