njumzs / mythdroid

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

Streaming to android device not working #109

Closed GoogleCodeExporter closed 8 years ago

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

Which version of MDD?
0.6.2

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

What steps will reproduce the problem?
1. run mdd.pl --debug
2. run mythdroid on android devise (Samsung Galaxy S2)
3. Long pressing on a recording, choosing "here" as frontend, then selecting 
any stream quality, get the message "Can't stream a null program"

What is the expected output? What do you see instead?

Watch the recording video o android device, I get the message "Can't stream a 
null program" for an instant and return to the menu

If you are reporting a 'force close' issue, please attach relevant logs
(e.g. from 'Log Collector', available via the market).

Please provide any additional information below.

Running mdd.pl --debug when I try to stream I get:

tail -f /tmp/mdd.log 
Tue 16 Oct 20:18:23 - Debug -   Running in backend only mode
Tue 16 Oct 20:18:23 - Warning - Failed to chuid to user mdd
Tue 16 Oct 20:18:23 - Debug -   Daemonise
Tue 16 Oct 20:18:23 - Debug -   HTTPServer: listening on port 16551
Tue 16 Oct 20:18:23 - Debug -   Listen on port 16546/tcp
Tue 16 Oct 20:18:52 - Debug -   New connection from MythDroid
Tue 16 Oct 20:18:52 - Debug -   -> CMSG: STOPSTREAM

Tue 16 Oct 20:18:52 - Debug -   <- CMSG: OK

No /tmp/vlc.log so it seem it never call vlc though it is installed an working 
in the backend PC

On the android device, after long pressing on the recording, then choosing 
"here" as frontend, then selecting any stream quality, I get the message "Can't 
stream a null program"

Original issue reported on code.google.com by magle...@gmail.com on 16 Oct 2012 at 11:29

GoogleCodeExporter commented 8 years ago
Hello, 

I left this question unanswered:

Which version of MythDroid were you using? 0.6.2

Has anyone experienced a similar issue?

Thanks,

Original comment by magle...@gmail.com on 26 Oct 2012 at 9:03

GoogleCodeExporter commented 8 years ago
Hi, sorry for delay. Does this happen every time you try to stream? I can't see 
any code paths that would result in the current program not being set when the 
VideoPlayer activity is started. The current program is stored in a singleton 
instance of the globals class, so it shouldn't get gc'd. Could you post a 
device log please?

Original comment by foobum on 30 Oct 2012 at 12:29

GoogleCodeExporter commented 8 years ago
Hello, thanks for your answer. Yes it happend every time I try. Excuse me, but 
how can I get the device log? I looked into the phone files and only found 
MythDroid.db and MythDroid.db-journal in the directory 
/data/data/org.mythdroid/databases

I'm running the backend on Opensuse 12.2 x64, in case it matters.

Kind regards,

Original comment by magle...@gmail.com on 30 Oct 2012 at 11:45

GoogleCodeExporter commented 8 years ago
You could use adb (from the android sdk) or search the market for 'logcat' to 
find an app that will read it for you..

Original comment by foobum on 31 Oct 2012 at 12:58

GoogleCodeExporter commented 8 years ago
Hopefully fixed by r818? Reopen if not..

Original comment by foobum on 9 Dec 2012 at 2:35