njumzs / mythdroid

Automatically exported from code.google.com/p/mythdroid
0 stars 0 forks source link

MDD video listing times out if there are many videos #96

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of MythDroid were you using?
5.3
Which version of MDD?
5.3
Which version of MythTV were you using? (e.g. mythfrontend --version)
Please attach all output as a file in bug reports.
MythTV Version   : v0.24.1-118-gcfcea7a
MythTV Branch    : fixes/0.24
Network Protocol : 63
Library API      : 0.24.20110505-1
QT Version       : 4.7.2
Options compiled in:
 linux profile using_alsa using_oss using_pulse using_backend using_bindings_perl using_bindings_python using_frontend using_hdhomerun using_hdpvr using_iptv using_ivtv using_lirc using_mheg using_opengl_video using_opengl_vsync using_qtdbus using_qtwebkit using_v4l using_x11 using_xrandr using_xv using_bindings_perl using_bindings_python using_mythtranscode using_opengl using_vdpau using_ffmpeg_threads using_live using_mheg

What steps will reproduce the problem?
1.install mdd
2.install mythdroid
3.open mythdroid and go to video

What is the expected output? What do you see instead?
video opens and i can browse and control,

i get "Read From x.x.x.x:16546 timed out"

Please provide any additional information below.
i did debugging in mdd, found it still proccessing while mythdroid had already 
timed out, after proccessing was done connected again, still timed out but mdd 
shows connection, see attached debug log with some filtering.

thank you for any help

Original issue reported on code.google.com by Kaziya....@gmail.com on 8 Mar 2012 at 3:11

Attachments:

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
I show the exact same issue when browsing to a subfolder with > 1400 videos.

The short-term fix was to place these 1400+ videos in subdirs.  I can now 
browse and play the videos.  However, these videos show in order of intid and 
not alphabetically by title in mythdroid.  In MythTV they show in proper 
alphabetical order.

Original comment by wasylyna@hotmail.com on 30 Mar 2012 at 10:04

GoogleCodeExporter commented 8 years ago
I am also getting this problem with 5.3
Recordings work fine but videos says connection refused. I also have excess of 
>1200 videos so guess its a timeout issue or something.
Sub directories do not work for me. Am very willing to help identify the 
problem.

Original comment by davidpit...@gmail.com on 12 Apr 2012 at 9:52

GoogleCodeExporter commented 8 years ago
mdd will take a long time to enumerate so many videos and mythdroid will time 
out waiting for an answer. We'll need to thread/fork long running operations in 
mdd and implement some sort of keepalive in the protocol.. Will do.

Original comment by foobum on 13 Apr 2012 at 9:49

GoogleCodeExporter commented 8 years ago
This issue was updated by revision r637.

Original comment by foobum on 13 Apr 2012 at 9:09

GoogleCodeExporter commented 8 years ago
Ok, it turns out we were adding coverart files to the HTTPServer whitelist all 
at once. r637 changes that so we only add them when required (i.e. when we 
browse the relevant subdirectory). Grateful if people who had issues with video 
list timeouts could pull mdd from svn trunk and test. 

Original comment by foobum on 13 Apr 2012 at 9:11

GoogleCodeExporter commented 8 years ago
I still show the exact symptoms as indicated above.  I did clear the cache on 
the android prior to attempts.   I did grab mdd from trunk and it installed 
without issue. 

Original comment by wasylyna@hotmail.com on 23 Apr 2012 at 2:03

GoogleCodeExporter commented 8 years ago
wasylyna: Are your videos still in subdirectories or all back in one top-level 
directory? r637 should have improved the situation where videos are in 
subdirectories (say, for davidpitcheruk). I'll look at the remaining issues as 
soon as I get some time.

Original comment by foobum on 21 May 2012 at 11:50

GoogleCodeExporter commented 8 years ago
This issue was updated by r657.

Original comment by foobum on 22 May 2012 at 2:09

GoogleCodeExporter commented 8 years ago
This issue was updated by r658.

Original comment by foobum on 22 May 2012 at 2:10

GoogleCodeExporter commented 8 years ago
Grateful for additional testing post-r657/r658. We now send keepalives whilst 
enumerating videos, which should mean no more timeouts. 

Original comment by foobum on 25 May 2012 at 8:01

GoogleCodeExporter commented 8 years ago
Should have said that there are related changes to MDD and MythDroid, so you'll 
need to update both from trunk..

Original comment by foobum on 25 May 2012 at 8:02

GoogleCodeExporter commented 8 years ago
Assume this was fixed by implementing keepalives

Original comment by foobum on 16 Jun 2012 at 11:45