...but when I try to connect from nDroid with some simple HTTP GET code and log the result of reading the InputStream I see something like the following...
Code:
ssage":""}}t":"Guided By Voices"},{"Artist":"Garbage"},{"Artist":"Velvet Chain"},{...},{...}<many more but the rest is cut short>
The starting 'ssage' bit is clearly the end of the "rtn" name/value pair but it's overwriting the start of what should be the "Artists" JSON array. The code I'm using is as follows...
Code:
InputStream inStream = connHelper.getInputStream();
int contentLength = connHelper.getContentLength();
// The following line logs 7311
Log.d(TAG, "getArtists() - getContentLength() : " + contentLength);
int totalRead = 0;
int len = -1;
// byte[] buffer = new byte[contentLength != -1 ? contentLength : 8192];
byte[] buffer = new byte[32768];
while ((len = inStream.read(buffer)) != -1)
if (len != 0) {
totalRead += len;
}
// The following line also logs 7311
Log.d(TAG, "getArtists() - totalRead: " + totalRead);
result = HELPER_RESULT.FILE_DOWNLOAD_SUCCESS;
String jsonString = new String(buffer, 0, totalRead, "UTF-8");
Log.d(TAG, jsonString);
I've tried ISO-8859-1 as well as UTF-8 but the result is the same. Any ideas on what I'm missing?
So I've been having this issue for a couple of weeks on-and-off. Generally, I've just rebooted everything to solve the problem but it continually happens and the wife isn't happy.
The Problem
Seemingly randomly, I cannot access a given channel. There does not appear to be any pattern on what channel doesn't work and most other channels will render, just randomly a channel doesn't render.
My Setup
HDHomerun with Comcast M-Card (3 tuners) plugged directly into our gigabit ethernet
1 Media Server w/ NPVR running 24x7 (wired)
- Live TV buffers to an SSD
- DVR records to a generic JBOD drive
4 XBMC installations at various points in the house (all of which are wired)
- all are using NPVR add-on (not surprising)
What I've Tried
1. Restarted XBMC, waited for EPG to fully load/update and select the problem channel (doesn't work)
2. Changed to a different channel (which does render) and then change back to problem channel (doesn't work)
3. Restarted XBMC + Server + HdHomerun (sometimes works, sometimes doesn't)
What I've Been Able to Find
1. It doesn't appear to be the HDHomeRun. Manually opening the channel (across all 3 tuners) in VLC works fine. I've never had an issue opening a stream to a channel directly on the HDHomeRun when these instances occur
2. I can see NPVR creating .ts file in the buffer location (e.g. live-TLCHD-1596-2.ts), however it is a relatively small file at 2,718 KB and doesn't seem to increase (broken stream?)
3. When this issue occurs, it occurs everywhere and on all machines. It's not isolated to any one XBMC box.
I've attempted to provide the cleanest log possible so I cleared out the logs and then repro-ed the issue. Hopefully the logs (attached) capture what's going on. It seems like NPVR was able to get the stream cleanly but, for some reason, wasn't able to come through in XBMC
The instructions say to edit the post processing.bat file, however after install, that file doesn't exist. I'm really new to this. I've searched my entire PC and can't find it. Can anyone help?
I have been trying to get the hauppauge 45 button remote to control the npvr with out much lick! I did manage to get it to do some things like scroll down in main menu and select TV guide but not very good . I edited the irremote to do this but was not completely sure i did it rite .I found the irremote file on the wiki and downloaded it and installed it this is not working very good either like if i get into live tv and hit the green power button it shuts down the whole computer . I probably have done something wrong or just don't understand . I will attach my logs and may be someone here can help me thx in advance
My Hauppauge PVR-150 analog card creates a 1 hour SD 4x3 mpeg2 file that is 2,450,000KB in size.
My Hauppauge DCR-2650 digital tuner captures a 1 hour HD 16x9 TS file that is 1,315,303KB in size.
The HD 16x9 file is smaller than SD 4x3 by near half... some 54% by my calculations.
Can someone please explain why this is so? Does this have to do with the fact that analog requires more bandwidth than the digital .ts format (hence the reason why cable wants to ditch analog ASAP)?
Is there a way to alter how the recorded file name is appended?
For instance, is there a way for a dash to be placed in the date to make it easier to read such as: Miami Vice_2015-03-19.ts without the additional digits?
Better yet, rearrange the date as Miami Vice_03-19-2015.ts?
I have created two folders under "recording directories" and the same two folders under "media folders" > "video folders" but I cannot see how to set one or the other under the Manual Recording dialog.
There does not appear to be an option for choosing recording folders.
I am new to NPVR. I have been using WMP for some time, which, recently stopped recording altogether. Ultimately I would like to use Kodi/XBMC front-end with NPVR as the back-end.
I have downloaded the latest version and installed it. When I start NPVR I get SQL Logic error ... no such column c.minor.
After clicking away the error message three times the NPVR program starts. When I try to configure the DVB-T devices no channels load.
I have attached a Log file.
I have tried re-installing a few times also made sure .Net framework updated.
I can't seem to figure out why I can stream internally using my NEWA server's IP address from several machines on my internal network, but not using my public domain name. It's not a DNS issue as all of my other services/sites work fine, but it's something to do with using DNS instead of IP. The guide site works just fine, but only when I attempt to live stream does it not work. Thoughts?