njumzs / mythdroid

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

videos are not shown #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Which version of MythDroid were you using?
0.4.4

Which version of MDD?
0.4.4

Which version of MythTV were you using? (e.g. mythfrontend --version)
0.24

What steps will reproduce the problem?
simply installing and clicking on "Videos" on mythdroid client

What is the expected output? What do you see instead?
expected: content of Video folders
output: blank page

Please provide any additional information below.

I defined custom folders for Videos in both backend and frontend. These Folders 
have subfolders which contain video files. The files are shown correctly in 
mythtv frontend.

Original issue reported on code.google.com by tom.anym...@googlemail.com on 19 Jun 2011 at 8:36

GoogleCodeExporter commented 8 years ago
We'll need logs for this one. Do you have MDD installed on your backend? Please 
run MDD in debug mode (i.e. with the --debug command line switch) and attach 
the relevant output from /tmp/mdd.log once you've attempted to view your videos.

Original comment by foobum on 19 Jun 2011 at 1:38

GoogleCodeExporter commented 8 years ago
I get something similar. I have my videos in /myth/bigdisk3/video and when I go 
to Videos in MythDroid I get two folders; this and the default in 
/var/lib/mythtv.

When I click on /myth/bigdisk3/video I get a blank screen, and MDD says:
 find: `/myth/bigdisk3/video//myth/bigdisk3/video/': No such file or directory

Also, pressing "back" when this has happened seems to go up in the directory 
structure instead of the expected, which is to go back to the Videos root. If I 
press "back" three times I end up in /myth/bigdisk3/video and I can select my 
videos.

Original comment by prefec...@gmail.com on 7 Jul 2011 at 9:51

GoogleCodeExporter commented 8 years ago
I have the same issue.
I have attached a log but I doubt it will be of very much use.
When I click Videos from MythDroid i just get an empty page with the word 
"Videos" at the top.

I am on MythTV 0.24.1 on Fedora 15 using MythDroid 0.5.1

Original comment by darksabo...@gmail.com on 27 Aug 2011 at 3:15

Attachments:

GoogleCodeExporter commented 8 years ago
Using 0.5.1 on myth 0.24-mytbuntu-autobuilds with desirez running CM7 and I 
also see this.

Original comment by richard....@gmail.com on 4 Sep 2011 at 4:41

GoogleCodeExporter commented 8 years ago
I have the same problem with version 5.0.0. When I trace the mdd process is 
does a lot off SQL queries to the backend. It might be that by the time it has 
finished mythdroid has already given up.

I have a fair few movies and TV shows

Original comment by tpeda...@gmail.com on 8 Sep 2011 at 8:18

GoogleCodeExporter commented 8 years ago
I guess you're all using storage groups for videos and that there's something 
not quite right with videoListSG() in MDD. I've attached a version of mdd.pl 
with some additional debug output in that function. Could someone who has this 
problem download the attached, replace bin/mdd.pl in the dist folder, ./Build 
install and run mdd with debug turned on ('mythlcdserver -v none --debug' on a 
frontend, 'mdd.pl --debug' on a backend-only or just set 'debug = true' in 
/etc/mdd.conf) and then attach /tmp/mdd.log here please?

Original comment by foobum on 11 Sep 2011 at 4:01

Attachments:

GoogleCodeExporter commented 8 years ago
Hello,

Just same issue with mdd version 0.5.1, mythdroid 0.5.1 and Mythtv 0.21.
Sometimes when I click Videos from MythDroid i just get an empty page with the 
word "Videos" at the top or sometimes I have just a "Failed to connect to MDD'
So, I downloaded your mmd.pl file replace it in bin/ and build it again.
Running in debug mode, /tmp/mdd.log attached

Original comment by killde...@gmail.com on 15 Sep 2011 at 7:14

Attachments:

GoogleCodeExporter commented 8 years ago
I had this problem and found, after some research, that you need to set the 
VideoStartupDir setting for the backend machine to the location of the video 
files and restart the backend. This will then use the uPnP server to populate 
the uPnP table that mdd.pl is using. mdd.pl discards video files that are not 
in the uPnP table!

I now have the problem that when I select a file to play it is using the entire 
filename and not stripping the VideoStartupDir from the filenames before 
telling the frontend to play the video file. 

Original comment by pkendal...@gmail.com on 14 Oct 2011 at 4:13

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

Original comment by foobum on 1 Nov 2011 at 4:22

GoogleCodeExporter commented 8 years ago
This issue with updated by revision r503.

Original comment by foobum on 2 Nov 2011 at 1:41

GoogleCodeExporter commented 8 years ago
This issue was update by revision r504.

Original comment by foobum on 2 Nov 2011 at 1:41

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

Original comment by foobum on 2 Nov 2011 at 9:05

GoogleCodeExporter commented 8 years ago
Thanks for the reports and logs. I hope that most of the issues have now been 
fixed in trunk. It would be great if anyone who was experiencing problems were 
able to build/install/test the repository versions of both mythdroid and mdd..

Original comment by foobum on 2 Nov 2011 at 9:12

GoogleCodeExporter commented 8 years ago
not quite sure how to build but don't mind installing and testing. I have had 
the same problem as above too.

Original comment by dp...@exeter.ac.uk on 6 Nov 2011 at 7:50

GoogleCodeExporter commented 8 years ago
There's a summary of how to checkout, build and install MythDroid at 
http://code.google.com/p/mythdroid/wiki/BuildGuide

Original comment by foobum on 6 Nov 2011 at 7:59

GoogleCodeExporter commented 8 years ago
Oh and the trunk version of mdd can be found in the 'mdd' subdirectory of the 
checkout in your eclipse workspace.

Original comment by foobum on 6 Nov 2011 at 8:02

GoogleCodeExporter commented 8 years ago
I installed everything you need to build.
I then went to trunk folder and clicked run it installed on my phone fine but 
under the application settings for mythdroid it says 0.5.0. Is this correct?
I right clicked mdd went copy and pasted onto memory stick, transferred to my 
computer and tried to build and install.
Build went ok, 
./build test however had problems [see attached]?
Any ideas? I am not the most tech savy at building from sauce

Original comment by davidpit...@gmail.com on 6 Nov 2011 at 11:40

Attachments:

GoogleCodeExporter commented 8 years ago
Doh. I forgot to bump the version so, yeah, it'll say 0.5.0. A fix for that has 
just been committed. The test is failing because mdd now requires a few extra 
modules, in this case it's complaining that you don't have Image::Imlib2 
installed. You should be able to get all missing dependencies by doing './Build 
installdeps' or by installing Image::Imlib2 via your package manager.

Original comment by foobum on 7 Nov 2011 at 1:07

GoogleCodeExporter commented 8 years ago
P.S. If you're using ubuntu try 'sudo apt-get install libimage-imlib2-perl' and 
then try mdd again.

Original comment by foobum on 7 Nov 2011 at 1:10

GoogleCodeExporter commented 8 years ago
OK all installed. 
Problems
- obviously the 0.5.0 in both mythdroid and mdd version numbers
- Videos now appear in videos folder although not in series folders (is that a 
feature I don't know if it was)
- /var folder appears at top of video list (don't know what this is, was empty)
- Video doesn't open on frontend comes up with error:-

Failed to open 'The Fades s01e01.avi' in TV Shows/The Fades/Series 1 Check if 
the video exists

- Could this be due to spaces in file/folder names?
- Can navigate using remote to video and play so does work
- Title on the video remote shows last live tv title not video title
- streams recordings to phone but not anything from video folder saying 
connection refused 192.168.0.8:6547 (guessing this is linked to play on 
frontend problem).

Hope this helps
Is this where I should reply to or is there an email mine is [d p 2 9 6 @ e x . 
a c . u k]
I don't mind doing further testing now that I know how easy to build it is.

Original comment by dp...@exeter.ac.uk on 7 Nov 2011 at 6:21

GoogleCodeExporter commented 8 years ago
Thanks. The best way to debug further would be via IRC. If you can, jump in 
#mythdroid on freenode. Otherwise, I'll get in touch via mail.. 

Original comment by foobum on 7 Nov 2011 at 8:40

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
This issue was updated by revision r520.

Original comment by foobum on 7 Nov 2011 at 11:38

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

Original comment by foobum on 7 Nov 2011 at 11:41

GoogleCodeExporter commented 8 years ago
Ok, David Pitcher helped us fix the remaining storage group issues and a fix 
for a related mythtv bug was just committed to 0.24-fixes 
(https://github.com/MythTV/mythtv/commit/31e9528e1). It was already fixed in 
mythtv master. So, with a (very) recent build of 0.24-fixes, everything should 
hopefully now be working. Many thanks to David. I'll close this unless anyone 
pipes up in the next few days.. 

Original comment by foobum on 8 Nov 2011 at 2:27

GoogleCodeExporter commented 8 years ago
Built recent build and this fixes the issue. Thanks foobum

Original comment by davidpit...@gmail.com on 13 Nov 2011 at 8:18

GoogleCodeExporter commented 8 years ago

Original comment by foobum on 15 Nov 2011 at 9:02