Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
Just tested and a HEAD request for this url does not return a content-length header.
So, it seems like that option won't work if all it does is send a HEAD request.
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Posts: 881
Joined: Mar 2009
Reputation:
0
Haggy
Team-XBMC Forum Moderator - Retired
Posts: 881
I attached a full debug log to the ticket, but i think you already found the problem.
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
XBMC has a different implementation as we have a callback.
Check xbmc/FileSystem/FileCurl.cpp if you want to see how it is done.
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
I did a little bit of debugging with my libcurl version.
CURLINFO_CONTENT_LENGTH_DOWNLOAD actually doesn't return the length. It returns 0.
So, I was wrong there.
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
Should hopefully be fixed with r18614. Please update your SVN and let us know.
Thanks.
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Posts: 881
Joined: Mar 2009
Reputation:
0
Haggy
Team-XBMC Forum Moderator - Retired
Posts: 881
Thanks, will merge into xbmc-vdpau branch and have a look at it. So your older libcurl also does not reply a meaningful content length? I looked at the callback implementation and i think i got it. Looks like on several checks length becomes zero thus returning to early from the callback. Will have a look at your patch and learn from it - perhaps one day i'm able to give something back to xbmc. As i'm a professional Web developer, perhaps i can assist with something online!?
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
If you do try it, make sure to try r18616.
Thanks.
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
Posts: 881
Joined: Mar 2009
Reputation:
0
Haggy
Team-XBMC Forum Moderator - Retired
Posts: 881
Thanks, i just compiled r18621 so it includes your revision. Will report back tonight.
Posts: 881
Joined: Mar 2009
Reputation:
0
Haggy
Team-XBMC Forum Moderator - Retired
Posts: 881
Hehe, and we do know a solution for this? :-)
Posts: 3,555
Joined: Oct 2003
Reputation:
12
tslayer
Team-XBMC Developer
Posts: 3,555
It should stop at 0:00 if you let it play through the first song. Skipping to the next song will work. Are you saying it works if you just let it play through?
Anyhow, OT...
42.7% of all statistics are made up on the spot
Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.