playlist playback aborted - too many consecutive failed items
#1
Hi,
I am running xbmc on debian 5.0;
I am trying to reach some content from my http-server. If the content is present, then it is downloaded without any problem. If the content is missing, then my http-server tries to reach it with some other ways, and once reached, it replies xbmc GET-request and we are back to the first case. But with this second way, sometime (not every times!) this error occurs:
Code:
playlist playback aborted
too many consecutive failed items
This error can even happen with a file which has not returned it before!
I do not know what causes this behaviour, and neither where to look for some explanation.
I have read some posts of this forums, without any success.
Thank you very much for any help you can provide!
Reply
#2
Please read the sticky on reporting problems in a useful manner.
Reply
#3
Oki, I am running xbmc on debian 5.0 lenny installation from the sources and compilation with gcc.
I have grep this error message in the source code of xbmc, which has led me to the following file:
Code:
~/XBMC/xbmc PlayListPlayer.cpp line 257
This error occurs when the number of failed songs exceeds g_advancedSettings.m_playlistRetries or the timeout g_advancedSettings.m_playlistTimeout*1000 is exceeded.

I have then created an advancedsettings.xml file, put it in the ~/xbmc/XBMC/userdata folder, defining new values for playlistretries and playlisttimeout, but nothing seems to change.

This file has read rights. I don't know if this file is actually taken in account. I don't know either how to check if this file is taken in account or not, and how to redefine these values.

Thanks a lot for your answers!
Reply
#4
You've still failed to provide the necessary details. Please read sticky on how to post in a useful manner.

Thank you!
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.
Reply
#5
Here are the necessary details:

XBMC version 9.04
Linux 2.6.26-2-openvz-686 Debian 5.0 lenny
architecture i686
install method: download of the sources files:
svn checkout https://xbmc.svn.sourceforge.net/svnroot...xport/XBMC
and then compilation.
SVN revision: at the bottom of each pages is displayed XBMC pre-9.10 r20532 (Compiled : May 22 2009)

To reproduce the problem:
I have created a http server. the served folder contains a list of files, some of them are empty (size: 0) so when xbmc tries to download them, instead of downloading them, the http server tries to download them from other servers of the same network (which takes more time) then the new file is served.Usually, the end-user is not aware of that (except that it takes more time) but sometimes, the error I have described occurs.

Debug log:
Here is the log when everything works fine (there are some errors, so I guess this could be usefull too)
normal working
Here is the log when the error occurs
error

Do not hesitate to ask me for any further informations
Thanks a lot for your help!
Reply
#6
It is clearly timing out. How long should it take to return the file when the http server does not have it?

You could always try to increase the curl timeout in advancedsettings.xml (check wiki).
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.
Reply
#7
I have ever tired to increase the curl timeout in the advancedsettings.xml file.
I have created this file with this content:
Code:
<advancedsettings>
    <network>
        <curlclienttimeout>3600</curlclienttimeout>
    <network>
</advancedsettings>
This file has 644 rights and is located in the ~/xbmc/XBMC/userdata folder.
That is why I wonder if this file is really taken in account or not.

To reach the content, I am trying with small videos files, so around 2 minutes.

Thank you for your answer and help!
Reply
#8
The Debug Log will tell you whether it's read or not.
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.


Image
Reply
#9
OK, in the both cases, the advancedsettings.xml file is not read
(See line 124: No advancedsettings.xml to load)
and I don't understand why.
Reply
#10
It should be in ~/.xbmc/userdata directory.

Check the log, it should show you the location of your userdata directory.
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.
Reply
#11
Ok, thanks a lot for your answers;
However, this does not solve anything. As you said, the log file shows me if the advancedsettings.xml file is loaded or not, and indeed, it is loaded. But the timeout still happens before the whole content is reached, about 2 or 3 seconds after the try. I am thinking about configuring the timeout from the server side.
Thanks again for your help!
Reply

Logout Mark Read Team Forum Stats Members Help
playlist playback aborted - too many consecutive failed items0