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 2 3 4 5 … 7 Next »
nDroid (TE) v2.1 available - Beta test group only

 
  • 0 Vote(s) - 0 Average
nDroid (TE) v2.1 available - Beta test group only
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,589
Threads: 385
Joined: Dec 2004
#21
2014-02-13, 09:10 AM
OK, dumb-ass mistake on my part with port 0 for no transcoding. Now fixed for the next release.
odin
Offline

Member

Posts: 105
Threads: 12
Joined: Oct 2011
#22
2014-02-17, 09:37 PM (This post was last modified: 2014-02-17, 09:55 PM by odin.)
thanks for your work on this Brian.

I think I've found the reason for the long term bug on playing back recordings.. (Edited to say this looks like it was reported previously in this thread also)

When you play back a previous recording, if there is a space in the recording name (directory), then the recording does not play. However, if there is no space, then the recording plays.

Example:

All recordings under the 'Hostages' directory play without issue, but no recordings in the 'Body of proof' directory play at all.

Cheers.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,589
Threads: 385
Joined: Dec 2004
#23
2014-02-18, 11:24 AM
vanderwelc Wrote:1. selecting watch now from any show under what's new appears to append the full path to the url(based on the error from gplayer) any path with a space is not working, e.g. d:\tem\media watch\media watch_2014.....ts will error in any player i have installed (no Transcode)

odin Wrote:I think I've found the reason for the long term bug on playing back recordings.. (Edited to say this looks like it was reported previously in this thread also)

When you play back a previous recording, if there is a space in the recording name (directory), then the recording does not play. However, if there is no space, then the recording plays.
I can't reproduce this - I admit I have various recordings which don't playback well (still suspecting a change in MX Player as I'm sure they did previously).

The issue with spaces doesn't apply though. I just played back an episode of "Call the Midwife" from Recordings and it worked.

Extract of nDroidServiceStreamer.log...
Code:
18/02/2014 10:54:40.842 ProcessRequest() called...
18/02/2014 10:54:40.842     URI: http://192.168.0.5:8791/D:/nPVR/Call%20the%20Midwife/Call%20the%20Midwife_20140216_20002100.ts
18/02/2014 10:54:40.842     URI filename: /D:/nPVR/Call the Midwife/Call the Midwife_20140216_20002100.ts
18/02/2014 10:54:40.842     Local filename: D:\nPVR\Call the Midwife\Call the Midwife_20140216_20002100.ts
The first URI: log entry is what was sent by MX Player in its request and is what the nDroid app would have passed to MX Player in the first place so it shows the URI is correctly encoding space characters as %20. The ndroid service end then decodes the URI resulting in the local filename. After that the service just dumps 250000 bytes of the file in chunks for the player to grab at which point the filename isn't even used - just the http session.

Confused but I'll keep looking.
odin
Offline

Member

Posts: 105
Threads: 12
Joined: Oct 2011
#24
2014-02-20, 01:32 PM (This post was last modified: 2014-02-20, 01:43 PM by odin.)
Hi Brian, here is a log extract from one of my troublesome recordings. This does not work on any of my Android clients using the newer Ndroid TE with MX Player and default video players.

It DOES however work in the older Ndroid application using MX Player and the default video player

Do you think therefore this is an issue with Ndroid TE and thus ruling out MX Player?

Code:
20/02/2014 13:26:52.192 nDroidHttpServer.WebRequestCallback() entered...
20/02/2014 13:26:52.192 nDroidHttpServer.WebRequestCallback() - calling EndGetContext()...
20/02/2014 13:26:52.193 nDroidHttpServer.WebRequestCallback() - calling BeginGetContext()...
20/02/2014 13:26:52.193 nDroidHttpServer.WebRequestCallback() - calling ProcessRequest()...
20/02/2014 13:26:52.193 ProcessRequest() called...
20/02/2014 13:26:52.212     URI: http://192.168.1.15:8791/D:/tv_server/recordings/The%20Client/The%20Client_20140214_21002320.ts
20/02/2014 13:26:52.212     URI filename: /D:/tv_server/recordings/The Client/The Client_20140214_21002320.ts
20/02/2014 13:26:52.212     Local filename: D:\tv_server\recordings\The Client\The Client_20140214_21002320.ts
20/02/2014 13:26:52.212     File extension: .ts
20/02/2014 13:26:52.212     Content Type: video/vnd.dlna.mpeg-tts
20/02/2014 13:26:52.212     fileInfo.Name: The Client_20140214_21002320.ts
20/02/2014 13:26:52.212     fileInfo.Length: 2208807864
20/02/2014 13:26:52.213 Seeking to position: 0 ...
20/02/2014 13:26:52.249     bytesRead: 250000
20/02/2014 13:26:52.628     bytesRead: 250000
20/02/2014 13:26:53.666 ProcessRequest() - client socket closed, time to leave...
20/02/2014 13:26:53.666 Closing BinaryReader...
20/02/2014 13:26:53.667 nDroidHttpServer.WebRequestCallback() - ProcessRequest() finished.
20/02/2014 13:26:53.681 nDroidHttpServer.WebRequestCallback() entered...
20/02/2014 13:26:53.681 nDroidHttpServer.WebRequestCallback() - calling EndGetContext()...
20/02/2014 13:26:53.681 nDroidHttpServer.WebRequestCallback() - calling BeginGetContext()...
20/02/2014 13:26:53.681 nDroidHttpServer.WebRequestCallback() - calling ProcessRequest()...
20/02/2014 13:26:53.681 ProcessRequest() called...
20/02/2014 13:26:53.681     URI: http://192.168.1.15:8791/D:/tv_server/recordings/The%20Client/The%20Client_20140214_21002320.ts
20/02/2014 13:26:53.681     URI filename: /D:/tv_server/recordings/The Client/The Client_20140214_21002320.ts
20/02/2014 13:26:53.681     Local filename: D:\tv_server\recordings\The Client\The Client_20140214_21002320.ts
20/02/2014 13:26:53.681     File extension: .ts
20/02/2014 13:26:53.681     Content Type: video/vnd.dlna.mpeg-tts
20/02/2014 13:26:53.682     fileInfo.Name: The Client_20140214_21002320.ts
20/02/2014 13:26:53.682     fileInfo.Length: 2208807864
20/02/2014 13:26:53.682 Seeking to position: 1195245599 ...
20/02/2014 13:26:53.697     bytesRead: 250000
20/02/2014 13:26:54.173     bytesRead: 250000
20/02/2014 13:26:54.256 ProcessRequest() - client socket closed, time to leave...
20/02/2014 13:26:54.257 Closing BinaryReader...
20/02/2014 13:26:54.257 nDroidHttpServer.WebRequestCallback() - ProcessRequest() finished.
20/02/2014 13:26:54.582 nDroidHttpServer.WebRequestCallback() entered...
20/02/2014 13:26:54.582 nDroidHttpServer.WebRequestCallback() - calling EndGetContext()...
20/02/2014 13:26:54.582 nDroidHttpServer.WebRequestCallback() - calling BeginGetContext()...
20/02/2014 13:26:54.582 nDroidHttpServer.WebRequestCallback() - calling ProcessRequest()...
20/02/2014 13:26:54.582 ProcessRequest() called...
20/02/2014 13:26:54.582     URI: http://192.168.1.15:8791/D:/tv_server/recordings/The%20Client/The%20Client_20140214_21002320.ts
20/02/2014 13:26:54.582     URI filename: /D:/tv_server/recordings/The Client/The Client_20140214_21002320.ts
20/02/2014 13:26:54.582     Local filename: D:\tv_server\recordings\The Client\The Client_20140214_21002320.ts
20/02/2014 13:26:54.582     File extension: .ts
20/02/2014 13:26:54.583     Content Type: video/vnd.dlna.mpeg-tts
20/02/2014 13:26:54.583     fileInfo.Name: The Client_20140214_21002320.ts
20/02/2014 13:26:54.583     fileInfo.Length: 2208807864
20/02/2014 13:26:54.583 Seeking to position: 0 ...
20/02/2014 13:26:54.583     bytesRead: 250000
20/02/2014 13:26:54.987     bytesRead: 250000
20/02/2014 13:26:54.989 nDroidHttpServer.WebRequestCallback() entered...
20/02/2014 13:26:54.989 nDroidHttpServer.WebRequestCallback() - calling EndGetContext()...
20/02/2014 13:26:54.989 nDroidHttpServer.WebRequestCallback() - calling BeginGetContext()...
20/02/2014 13:26:54.989 nDroidHttpServer.WebRequestCallback() - calling ProcessRequest()...
20/02/2014 13:26:54.989 ProcessRequest() called...
20/02/2014 13:26:54.989     URI: http://192.168.1.15:8791/
20/02/2014 13:26:54.989     URI filename: /
20/02/2014 13:26:54.989 nDroidHttpServer.WebRequestCallback() - ProcessRequest() finished.
20/02/2014 13:26:56.051     bytesRead: 250000
20/02/2014 13:26:56.541     bytesRead: 250000
20/02/2014 13:26:56.955     bytesRead: 250000
20/02/2014 13:26:57.341     bytesRead: 250000
20/02/2014 13:26:57.749     bytesRead: 250000
20/02/2014 13:26:58.153     bytesRead: 250000
20/02/2014 13:26:58.733     bytesRead: 250000
20/02/2014 13:26:59.312     bytesRead: 250000
20/02/2014 13:26:59.918 ProcessRequest() - client socket closed, time to leave...
20/02/2014 13:26:59.918 Closing BinaryReader...
20/02/2014 13:26:59.918 nDroidHttpServer.WebRequestCallback() - ProcessRequest() finished.
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,589
Threads: 385
Joined: Dec 2004
#25
2014-02-20, 11:22 PM (This post was last modified: 2014-02-21, 12:13 AM by bgowland.)
odin Wrote:It DOES however work in the older Ndroid application using MX Player and the default video player

Do you think therefore this is an issue with Ndroid TE and thus ruling out MX Player?
Logically? No. Don't get me wrong - I believe you're seeing what you're seeing but I've got both the nDroid v1.9 project and nDroid TE v2.1 project open at the moment and there's no difference in how v1.9 starts a video player compared to the way TE does it. Besides, as I've said before, once a video player starts it has full control of the process and the nDroid app basically goes to sleep.

Could you try playing that same recording with nDroid v1.9, let it play for a minute or so then stop it. Then try playing it from TE and then post the log to include both. It may also be useful to include the other nDroid service logs. If the logs show MX Player behaving differently when started from v1.9 compared to when it's started from TE then I've obviously missed something in my code.

EDIT: Yeah, I'm definitely missing something here - I've finally been able to reproduce some different behaviour in MX Player when started from v1.9 and TE on some of my recordings. Most of my recordings behave fine (typical...that's why I couldn't reproduce what you're seeing). At least now I've got something to test against so I can see what's being passed to MX Player from each version. Hopefully I can find a fix.

Cheers,
Brian
bgowland
Offline

Posting Freak

West Yorkshire, UK
Posts: 4,589
Threads: 385
Joined: Dec 2004
#26
2014-02-21, 07:52 AM
Phew!!!

I dug further into the v1.9 code and found what it was doing differently. I'll look through the other issues that have been mentioned WRT v2.1.0 and put v2.1.1 out later today or tonight.

Cheers,
Brian
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (3): « Previous 1 2 3


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