njumzs / mythdroid

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

Support for mythtv 0.25 #100

Closed GoogleCodeExporter closed 8 years ago

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

Which version of MythTV were you using? (e.g. mythfrontend --version)
0.25
What steps will reproduce the problem?
1. Install MythDroid
2. Install ubuntu 12.04
3.

What is the expected output? What do you see instead?
Nothing
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.
Any plan to extend the functionalities to support mythtv 0.25 as it is the 
default version of Ubuntu Precise ? Thank u in advance, great work, used till 
previous version of ubuntu.

Original issue reported on code.google.com by michele....@gmail.com on 4 May 2012 at 10:20

GoogleCodeExporter commented 8 years ago
Yep, it's in (slow) progress..

Original comment by foobum on 6 May 2012 at 3:14

GoogleCodeExporter commented 8 years ago
I also agree that this project is great.  I wait with excitement for the day my 
0.25 works again with MythDroid.

Original comment by mrbrianc...@gmail.com on 20 May 2012 at 1:19

GoogleCodeExporter commented 8 years ago
Issue 77 has been merged into this issue.

Original comment by foobum on 26 May 2012 at 1:15

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

Original comment by foobum on 26 May 2012 at 1:15

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

Original comment by foobum on 26 May 2012 at 1:17

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

Original comment by foobum on 26 May 2012 at 1:18

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

Original comment by foobum on 26 May 2012 at 1:19

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

Original comment by foobum on 26 May 2012 at 1:19

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

Original comment by foobum on 26 May 2012 at 1:20

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

Original comment by foobum on 26 May 2012 at 1:22

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

Original comment by foobum on 26 May 2012 at 1:23

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

Original comment by foobum on 26 May 2012 at 1:24

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

Original comment by foobum on 26 May 2012 at 1:24

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

Original comment by foobum on 26 May 2012 at 1:25

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

Original comment by foobum on 26 May 2012 at 1:25

GoogleCodeExporter commented 8 years ago
Trunk should now work with MythTV 0.25 but the new code has only been subject 
to light testing since I haven't upgraded my MythTV install yet. 

Grateful for testing and for new tickets for any issues.

I'll close this ticket now but there are a few TODOs remaining:

* Support for recording groups in absence of MDD (there's no api support for 
this tho)
* Use of the frontend service when MDD is unavailable
* Use of the frontend service for extra metadata
* Use of HLS (implemented but disabled because it's broken in MythTV)

Original comment by foobum on 26 May 2012 at 1:37

GoogleCodeExporter commented 8 years ago
Hi,
I would like to test the new code but cannot find the trunk tree,
can you point me where to download it ?

Michele

Original comment by michele....@gmail.com on 28 May 2012 at 9:24

GoogleCodeExporter commented 8 years ago
Hi Michele,

If you've got a build environment (e.g. eclpise + android SDK + ADT plugin) 
setup, you can grab the source code via svn at svn at 
http://mythdroid.googlecode.com/svn/trunk. 

Alternatively, I've uploaded a prebuilt APK at 
http://mythdroid.googlecode.com/files/MythDroid-0.6.0-beta.apk and a tarball of 
MDD at http://mythdroid.googlecode.com/files/mdd-0.6.0-beta.tgz

foobum

Original comment by foobum on 28 May 2012 at 6:28

GoogleCodeExporter commented 8 years ago
installed files above to test with mythtv .25

getting error at startup:
Use of uninitialized value in concatenation (.) or string at 
/usr/share/perl5/MDD/MythDB.pm line 102.

log file is also showing:
Fri 8 Jun 12:51:05 - Debug -   Video DB schema version is

doesnt appear to be detecting the schema version.

Original comment by supase...@gmail.com on 8 Jun 2012 at 5:58

GoogleCodeExporter commented 8 years ago
i removed the mythvideo. portion from that line, and mdd does appear to start 
up fine without any errors...

i still get an error on my android phone saying that it is unable to contact 
the backend... mdd.log does show connections being created.

Original comment by supase...@gmail.com on 8 Jun 2012 at 7:54

GoogleCodeExporter commented 8 years ago
Exactly the same issue . Apk is unable to connect to mdd.
I am willing to help send logs if needed, but am currently working weekends and 
late this week. Just email me with anything I can do.

Original comment by davidpit...@gmail.com on 10 Jun 2012 at 10:07

GoogleCodeExporter commented 8 years ago
ok, been doing some more debugging with my limited android skills... looks like 
when the apk is json client is requesting "GetConnectionInfo" the web service 
is returning error 500. 

Original comment by supase...@gmail.com on 11 Jun 2012 at 3:47

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
Figured it out! 

Issue was with line 89 in MythService.java
The "GetConnectionInfo" method wasn't passing along the security pin as 
required so the webservice was returning the error 500. Modified line 89 to 
read:

JSONObject jo = jc.Get("GetConnectionInfo", new Params("Pin", pin)); 
//$NON-NLS-1$ //$NON-NLS-2$

and it does connect and return the recorded programs correctly. will continue 
my testing. :D

Original comment by supase...@gmail.com on 11 Jun 2012 at 4:31

GoogleCodeExporter commented 8 years ago
supaseibz, many thanks! I'll commit your fix shortly.

Original comment by foobum on 11 Jun 2012 at 5:30

GoogleCodeExporter commented 8 years ago
Heres a newly compiled apk for anyone thats interested.

Original comment by supase...@gmail.com on 11 Jun 2012 at 7:13

Attachments:

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

Original comment by foobum on 13 Jun 2012 at 10:30