NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) nDroid v
« Previous 1 … 3 4 5 6 7
nDroid v1.7.5 available

 
  • 0 Vote(s) - 0 Average
nDroid v1.7.5 available
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#1
2012-02-03, 04:07 PM
Hopefully I've fixed the problems on the Guide details popup that Nistrod mentioned in the v1.7.4 thread.

Repeat of the release details...

I've uploaded v1.7.5 of the nDroid client app to the Android Market and the associated installer for the v 1.7.4 of the nDroid service to the NextPVR wiki page. http://www.nextpvr.com/nwiki/pmwiki.php?...ity.NDroid

You MUST update both of them for this version to work - please update the nDroidService on your PC before downloading v1.7.5 of the nDroid app.

Also, please see the point below about uninstalling v1.6.8 of the nDroid app before downloading v1.7.5 to your Android device.

IMPORTANT:

  1. v1.7.x requires NextPVR v2.3.6 and WILL NOT work with previous versions.
  2. If you have v1.6.8 or earlier installed on your Android device, you MUST uninstall it before installing v1.7.x
  3. v1.7.4 of the nDroidService may be installed over previous versions
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#2
2012-02-03, 04:07 PM
Changes / updates:

nDroid app:
  • Fixed time-zone related issue in the Guide detail popup of the short lived v1.7.4 which prevented record/watch of programmes
  • Changed the order of buttons on the various popups to put 'Close' on the left hopefully to prevent acidental recordings or cancelling existing recordings.
  • Added 'Watch' button to various Guide popups to allow watching Live TV (see section below)
  • Added Recordings view to show existing recordings and allow them to be watched (see below)
  • Updated the way currently scheduled recordings are managed - should prevent the highlight in Gude views failing after the app is updated
  • Updated various database tables in the local database to match changes in NextPVR v2.3.6 (mostly not yet used)
  • Various bug fixes and stuff I've forgotten

nDroidService:
  • Updated export logic to cater for new database format in NextPVR v2.3.6
  • Fixed bug that might falsely report a recording request is successful even if there has been an error
  • Added streaming HTTP server
  • Improved logging in some areas
  • Various bug fixes and stuff I've forgotten

Viewing Live TV and watching Recordings (Experimental):

In order to watch live tv or view recordings you will need a 3rd-party media player app installed on your Android device. I've personally only tested this with MX Video Player and it works very nicely. I can't guarantee that it will work with other Android media player apps or even if it will work at all.

To watch live tv you will also have to enable the NextPVR web server as it uses the "/live?channel=###" call built-in. Streaming of media from the Recordings view is handled by the nDroidService and, as stated, is experimental.

This was quite a major piece of work and there's probably some things I've missed so I'll update when I can remember.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#3
2012-02-03, 04:13 PM
< bump >
Sheik Yerbouti
Offline

Posting Freak

Posts: 922
Threads: 77
Joined: Jul 2006
#4
2012-02-03, 08:41 PM
Great work Brian. One question: on my system it takes about 35 seconds before the file starts playing. Is this the same for you, or should I upload some logs?

Chris
[SIZE="1"]i5 750 4GB RAM, Windows 10 Home, HDHomeRun HDHR3-4DC, Digital Devices Cine CT, OSCam on a Raspberry Pi with a Smargo Smartreader+, Raspberry Pi 2 OpenElec Kodi client, Gigabyte Brix 2807 OpenElec Kodi client[/SIZE]
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#5
2012-02-03, 09:24 PM (This post was last modified: 2012-02-03, 09:38 PM by bgowland.)
Sheik Yerbouti Wrote:Great work Brian.
Thanks, I like it. Smile Still more to come when I get time.

Quote:One question: on my system it takes about 35 seconds before the file starts playing. Is this the same for you, or should I upload some logs?
I find it varies. Sometimes it takes only a short time (perhaps around 5 seconds) other times it can take 15-20 seconds, I haven't timed it exactly.

It might depend on what sort of media file it is and the size. The nDroidServiceStreamer.log file should contain everything related to the streaming although nDroidServiceListener.log might help too if you want me to look further.

EDIT: If you're trying this with Live TV it can take quite a bit of time because of the way MX Video Player tries to analyse the feed.
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#6
2012-02-03, 11:45 PM
Added 'Watch' button to various Guide popups to allow watching Live TV (see section below)
Added Recordings view to show existing recordings and allow them to be watched (see below)

woot!

awesome work Brian. you da' man. works perfectly on my HTC HD2 phone [using mx player]
yep, it seems a little slow to get going, maybe 30secs. Here is my log if you are interested.

thank you for this.

Code:
03/02/2012 23:37:12.578 nDroidHttpServer.WebRequestCallback() entered...
03/02/2012 23:37:12.578 nDroidHttpServer.WebRequestCallback() - calling EndGetContext()...
03/02/2012 23:37:12.578 nDroidHttpServer.WebRequestCallback() - calling BeginGetContext()...
03/02/2012 23:37:12.578 nDroidHttpServer.WebRequestCallback() - calling ProcessRequest()...
03/02/2012 23:37:12.578 ProcessRequest() called...
03/02/2012 23:37:12.578 Filename: /R:/Recordings/Beautiful Equations/Beautiful Equations.ts
03/02/2012 23:37:12.578 File extension: .ts
03/02/2012 23:37:12.578 Content Type: video/vnd.dlna.mpeg-tts
03/02/2012 23:37:12.578     fi.Name: Beautiful Equations.ts fi.Length: 2253918088
03/02/2012 23:37:12.599     bytesRead: 250000
03/02/2012 23:37:12.777     bytesRead: 250000
03/02/2012 23:37:12.865     bytesRead: 250000
03/02/2012 23:37:12.951     bytesRead: 250000
03/02/2012 23:37:13.095     bytesRead: 250000
03/02/2012 23:37:13.153     bytesRead: 250000
03/02/2012 23:37:13.223     bytesRead: 250000
03/02/2012 23:37:13.279     bytesRead: 250000
03/02/2012 23:37:13.338     bytesRead: 250000
03/02/2012 23:37:13.410     bytesRead: 250000
03/02/2012 23:37:13.471     bytesRead: 250000
03/02/2012 23:37:13.540     bytesRead: 250000
03/02/2012 23:37:13.606     bytesRead: 250000
03/02/2012 23:37:13.697     bytesRead: 250000
03/02/2012 23:37:14.078 nDroidHttpServer.WebRequestCallback() entered...
03/02/2012 23:37:14.078 nDroidHttpServer.WebRequestCallback() - calling EndGetContext()...
03/02/2012 23:37:14.078 nDroidHttpServer.WebRequestCallback() - calling BeginGetContext()...
03/02/2012 23:37:14.078 nDroidHttpServer.WebRequestCallback() - calling ProcessRequest()...
03/02/2012 23:37:14.078 ProcessRequest() called...
03/02/2012 23:37:14.078 Filename: /R:/Recordings/Beautiful Equations/Beautiful Equations.ts
03/02/2012 23:37:14.078 File extension: .ts
03/02/2012 23:37:14.078 Content Type: video/vnd.dlna.mpeg-tts
03/02/2012 23:37:14.078     fi.Name: Beautiful Equations.ts fi.Length: 2253918088
03/02/2012 23:37:14.093     bytesRead: 250000
03/02/2012 23:37:14.201 ProcessRequest() - client socket closed, time to leave...
03/02/2012 23:37:14.201 Closing BinaryReader...
03/02/2012 23:37:14.201 nDroidHttpServer.WebRequestCallback() - ProcessRequest() finished.
03/02/2012 23:37:14.579 ProcessRequest() - aborting response connection...
03/02/2012 23:37:14.579 Closing BinaryReader...
03/02/2012 23:37:14.580 nDroidHttpServer.WebRequestCallback() - ProcessRequest() finished.
03/02/2012 23:37:14.582 nDroidHttpServer.WebRequestCallback() entered...
03/02/2012 23:37:14.582 nDroidHttpServer.WebRequestCallback() - calling EndGetContext()...
03/02/2012 23:37:14.582 nDroidHttpServer.WebRequestCallback() - calling BeginGetContext()...
03/02/2012 23:37:14.582 nDroidHttpServer.WebRequestCallback() - calling ProcessRequest()...
03/02/2012 23:37:14.582 ProcessRequest() called...
03/02/2012 23:37:14.582 Filename: /R:/Recordings/Beautiful Equations/Beautiful Equations.ts
03/02/2012 23:37:14.582 File extension: .ts
03/02/2012 23:37:14.582 Content Type: video/vnd.dlna.mpeg-tts
03/02/2012 23:37:14.582     fi.Name: Beautiful Equations.ts fi.Length: 2253918088
03/02/2012 23:37:14.583     bytesRead: 250000
03/02/2012 23:37:14.626 nDroidHttpServer.WebRequestCallback() entered...
03/02/2012 23:37:14.626 nDroidHttpServer.WebRequestCallback() - calling EndGetContext()...
03/02/2012 23:37:14.626 nDroidHttpServer.WebRequestCallback() - calling BeginGetContext()...
03/02/2012 23:37:14.626 nDroidHttpServer.WebRequestCallback() - calling ProcessRequest()...
03/02/2012 23:37:14.626 ProcessRequest() called...
03/02/2012 23:37:14.626 Filename: /R:/Recordings/Beautiful Equations/Beautiful Equations.ts
03/02/2012 23:37:14.626 File extension: .ts
03/02/2012 23:37:14.627 Content Type: video/vnd.dlna.mpeg-tts
03/02/2012 23:37:14.627 ProcessRequest() threw exception: Object reference not set to an instance of an object.   at uk.co.beetec.csharp.nDroid.nDroidServiceStreamer.ProcessRequest(HttpListenerContext context) in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2008\Projects\nDroidService\nDroidService\nDroidServiceStreamer.cs:line 158
03/02/2012 23:37:14.627 nDroidHttpServer.WebRequestCallback() - ProcessRequest() finished.
03/02/2012 23:37:44.830     bytesRead: 250000
03/02/2012 23:37:44.970     bytesRead: 250000
03/02/2012 23:37:45.138     bytesRead: 250000
03/02/2012 23:37:45.285     bytesRead: 250000
03/02/2012 23:37:45.369     bytesRead: 250000
03/02/2012 23:37:45.450     bytesRead: 250000
03/02/2012 23:37:45.520     bytesRead: 250000
03/02/2012 23:37:45.631     bytesRead: 250000
03/02/2012 23:37:45.706     bytesRead: 250000
03/02/2012 23:37:45.782     bytesRead: 250000
03/02/2012 23:37:45.852     bytesRead: 250000
03/02/2012 23:37:45.914     bytesRead: 250000
03/02/2012 23:37:45.981     bytesRead: 250000
03/02/2012 23:37:46.046     bytesRead: 250000
03/02/2012 23:37:46.126     bytesRead: 250000
03/02/2012 23:37:46.228     bytesRead: 250000
03/02/2012 23:37:46.321     bytesRead: 250000
03/02/2012 23:37:46.409     bytesRead: 250000
03/02/2012 23:37:46.507     bytesRead: 250000
03/02/2012 23:37:46.849     bytesRead: 250000
03/02/2012 23:37:47.258     bytesRead: 250000
03/02/2012 23:37:47.628     bytesRead: 250000
03/02/2012 23:37:48.003     bytesRead: 250000
03/02/2012 23:37:48.328     bytesRead: 250000
03/02/2012 23:37:48.761     bytesRead: 250000
03/02/2012 23:37:49.168     bytesRead: 250000
03/02/2012 23:37:49.780     bytesRead: 250000
03/02/2012 23:37:50.097     bytesRead: 250000
03/02/2012 23:37:50.497     bytesRead: 250000
03/02/2012 23:37:50.800     bytesRead: 250000
03/02/2012 23:37:51.060     bytesRead: 250000
03/02/2012 23:37:51.566     bytesRead: 250000
03/02/2012 23:37:51.917     bytesRead: 250000
03/02/2012 23:37:52.457     bytesRead: 250000
03/02/2012 23:37:52.937     bytesRead: 250000
03/02/2012 23:37:53.507     bytesRead: 250000
03/02/2012 23:37:53.967     bytesRead: 250000
03/02/2012 23:37:54.488     bytesRead: 250000
03/02/2012 23:37:54.775     bytesRead: 250000
03/02/2012 23:37:55.047     bytesRead: 250000
03/02/2012 23:37:55.459     bytesRead: 250000
03/02/2012 23:37:55.531 ProcessRequest() - HttpListenerException in OutputStream.Write() block threw exception: The I/O operation has been aborted because of either a thread exit or an application request   at System.Net.HttpResponseStream.Write(Byte[] buffer, Int32 offset, Int32 size)
   at uk.co.beetec.csharp.nDroid.nDroidServiceStreamer.ProcessRequest(HttpListenerContext context) in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2008\Projects\nDroidService\nDroidService\nDroidServiceStreamer.cs:line 175
03/02/2012 23:37:55.532 ProcessRequest() threw exception: The I/O operation has been aborted because of either a thread exit or an application request   at uk.co.beetec.csharp.nDroid.nDroidServiceStreamer.ProcessRequest(HttpListenerContext context) in C:\Documents and Settings\gbpvr\My Documents\Visual Studio 2008\Projects\nDroidService\nDroidService\nDroidServiceStreamer.cs:line 188
03/02/2012 23:37:55.532 nDroidHttpServer.WebRequestCallback() - ProcessRequest() finished.
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#7
2012-02-04, 12:11 AM
gEd Wrote:awesome work Brian. you da' man.
lol, thanks.

Quote:works perfectly on my HTC HD2 phone [using mx player]
yep, it seems a little slow to get going, maybe 30secs. Here is my log if you are interested.
Yes, very interested. I don't like the look of those exceptions - the first one probably explains why it takes so long to get going and the last two should be being handled a bit more gracefully rather than logged in that way.

I'll double-check the code and hopefully find the issues. Glad you like it. Smile

Cheers,
Brian
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#8
2012-02-04, 12:18 AM
@gEd - Actually, I might have an angle on the first exception. Which version of the MX player are you using?
gEd
Offline

Posting Freak

London
Posts: 3,518
Threads: 100
Joined: Jan 2005
#9
2012-02-04, 12:35 AM
1.5a
“If this is the way Queen Victoria treats her prisoners, she doesn't deserve to have any.”
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,595
Threads: 387
Joined: Dec 2004
#10
2012-02-04, 12:44 AM
gEd Wrote:1.5a
OK thanks, same as me. I'm wondering if it's to do with the mx player settings (I changed a few of them). I'll look further.
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (2): 1 2 Next »


Possibly Related Threads…
Thread Author Replies Views Last Post
  nDroid Download Location whozeawhat 4 7,363 2017-02-24, 08:08 PM
Last Post: jamissr
  Anyone using nDroid TE on devices running Android less than v4? bgowland 4 6,982 2016-11-03, 02:09 AM
Last Post: mrred128
  NDROID TE Amazon Marketplace thomasaherzog 0 4,376 2016-01-30, 07:12 PM
Last Post: thomasaherzog
  nDroid Setup on Windows 10 firewall issue fixed max0r4axor 0 4,646 2015-05-19, 04:56 AM
Last Post: max0r4axor
  nDroid (TE) for Amazon Marketplace? kode54 1 4,868 2015-04-04, 04:43 PM
Last Post: bgowland
  ndroid TE recording event crashes recording service fuzzweed 0 4,496 2015-02-04, 07:00 AM
Last Post: fuzzweed
  nDroid TE Beta Testers - anyone out there? bgowland 19 15,389 2014-09-29, 05:43 AM
Last Post: Steve Barnes
  ndroid service will not start wodger 12 12,458 2014-08-15, 07:56 AM
Last Post: drlava
  ndroid te search fuzzweed 6 6,841 2014-06-15, 05:52 AM
Last Post: bgowland
  nDroid n Samsung Galaxy S5 subi75 5 7,689 2014-04-22, 03:13 AM
Last Post: subi75

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode