NEW: Channels DVR backend for Nvidia SHIELD


#221

I seem to be having the same problem. Everything was working fine until around 9 AM this morning, then I started getting the logs same as you. I restarted the shield and the DVR came back up, but the Apple TV app nor the Android TV app will see it. The web interface works OK. I was able to set up a couple series and stream some live channels. The Apple app only shows On Now, Guide, Settings.

I was about to clear all the HDHomeRun DVR settings and move to this because the interface and functionality is far far superior…guess I’ll wait.


#222

I’m just going to move everything back to my Mac until I can get a new NAS that’ll stream better than my current one that’s too old and underpowered. HDHomeRun interface suuuuuuuuuuuuuuuuuuuuucks and their development team is sloooooooooooooooooooow.


#223

Can you email your log file to [email protected] so I can compare with @timstephens24’s and get a better idea of what’s going on.

It’s strange that your devices wouldn’t see the DVR after reboot. Can you try unchecking and rechecking the Bonjour checkbox on the web UI?


#224

Bummer. That crash report looks more useful than ones in the past, so I’ll see if I can fix the issue. I can also make the SHIELD app automatically restart the DVR when it crashes.


#225

Toggling the Bonjour setting did the trick. Both can see the DVR now. When I installed the DVR, it would only install on /storage/emulated/0 so I don’t have access to the log(s) except via the web interface. I would have preferred to install in on my 1TB EVO mounted as internal. All the recordings, database backups and comskip logs are going in seperate folders on the EVO. Is there any way to get it install in 1 directory on the mounted storage?


#226

Use http://x.x.x.x:8089/log?n=5000

Not at the moment, I will try enabling the “move app” feature and see if it works with the DVR engine.


#227

For those having issues on the shield… what version of the shield experience are you on? [NVidia just released SE 6.0 on Sep 28; one of my shields (on auto update) just got updated a few nights ago]… … So some users may be seeing different issues depending on the SE version installed… (the beginning of this thread was before Sep 28 :slight_smile: )


#228

I have SE 6.0, but that was the one the DVR was installed on.


#229

I have uploaded a new version of the DVR app to the Play store. The DVR will now restart automatically if it crashes. The new app also allows installation on additional internal storage.

I have an idea of what’s causing the crash, but it’s some sort of low-level issue only manifesting in the android version of the DVR and will take some time to figure out.


#230

Earlier this week (4 days ago) I again setup a Channels DVR test platform on the Nvidia Shield. After 1-2 days of getting this installation to work properly (biggest issue…resetting screen saver “never to sleep”) I had no other problems until tonight. The web ui wouldn’t connect. I had to restart the Shield to achieve a connection.

This may have occurred due to 11/03(?) update which was updated on production installation (installed automatically approx 1 hr before checking on test installation), below is log for relevant times:

2017/11/04 09:33:33 [DVR] Waiting 21h26m26.214247545s until next job 1509879600-3 NBC 2 News Today Sunday 6A
2017/11/04 09:33:37 [IDX] Pruned 2018 expired airings from USA-FL61795-X in 4.378235363s.
2017/11/04 23:20:12 [SYS] Starting Channels DVR v2017.11.01.2252 (android-arm64) in /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/data
2017/11/04 23:20:13 [HDR] Found 1 devices
2017/11/04 23:20:14 [SYS] Started HTTP Server
2017/11/04 23:20:19 [DVR] Recording engine started in /storage/B0CA-2A28/NVIDIA_SHIELD/Channels
2017/11/04 23:20:19 [SYS] Bonjour service running for dvr-shield.local. [10.0.0.34]
2017/11/04 23:20:19 [DVR] Waiting 7h39m40.873941935s until next job 1509879600-3 NBC 2 News Today Sunday 6A
2017/11/04 23:20:19 [SYS] Created database snapshot: backup-20171104.232019
2017/11/04 23:20:19 [SYS] Downloading new version v2017.11.03.0006
2017/11/04 23:20:31 [IDX] Pruned 1015 expired airings from USA-FL61795-X in 2.710100572s.
2017/11/04 23:20:40 [SYS] Error checking for update: open /mnt/expand/c2f9a076-a5eb-41f8-8e

Possibly, I didn’t wait long enough for update on test system to complete, just seems odd if this is really a coincidence (1-2 min for update and 1 hour after production…although both were at idle)…hence, I’m reporting.


#231

What does the rest of this line say?


#232

04 23:20:40 [SYS] Error checking for update: open /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2017.11.03.0006/ffprobe: read-only file system


#233

That looks like the problem.


#234

Yeah…the Shield shows 11.01.2252 as the current version


#235

Sounds like the drive you attached as internal storage is failing, full, or detached. It’s marked as “read-only” by Android so the DVR is unable to download the new update.


#236

External on the Shield.

  1. Not failing now…can view recordings (see 3)
  2. Not full…1.7 gb
  3. Not attached…Obviously it is now, but probably the reboot reattached.

#237

Latest in log:

2017/11/04 23:20:40 [SYS] Error checking for update: open /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2017.11.03.0006/ffprobe: read-only file system
2017/11/05 00:11:39 [SYS] Downloading new version v2017.11.03.0006
2017/11/05 00:11:39 [SYS] Error checking for update: open /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/2017.11.03.0006/android-arm64.sha256: read-only file system
2017/11/05 00:25:31 [HLS] Starting transcoder for file-1 at 8m46s (encoder=h264_mediacodecndk, resolution=, deinterlacer=blend, bitrate=10000)
2017/11/05 00:25:31 [HLS] Stopping transcoder for file-1 after seek to 8m46s (out=0s, finished=false)
2017/11/05 00:25:31 [HLS] Starting transcoder for file-1 at 8m46s (encoder=h264_mediacodecndk, resolution=, deinterlacer=blend, bitrate=10000)
[mpegts @ 0x2005c5f600] start time for stream 2 is not set in estimate_timings_from_pts
[mpegts @ 0x2005c5f600] start time for stream 3 is not set in estimate_timings_from_pts
[mpegts @ 0x2005c5f600] start time for stream 4 is not set in estimate_timings_from_pts
[mpegts @ 0x2005c5f600] Dropped corrupted packet (stream = 1)
2017/11/05 00:25:39 [HLS] Stopping transcoder session file-1 @ 8m59.980644s


#238

Sorry, getting interrupted by SNL and cameo appearances by Astros (2nd favorite team).

Tried updating Shield on mac Safari browser with Shift (Check for Updates)…nothing, still 11.01.xxxx


#239

Rebooted Shield: Now have 11.03.xxxx

Log:

2017/11/04 09:33:37 [IDX] Pruned 2018 expired airings from USA-FL61795-X in 4.378235363s.
2017/11/04 23:20:12 [SYS] Starting Channels DVR v2017.11.01.2252 (android-arm64) in /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/data
2017/11/04 23:20:13 [HDR] Found 1 devices
2017/11/04 23:20:14 [SYS] Started HTTP Server
2017/11/04 23:20:19 [DVR] Recording engine started in /storage/B0CA-2A28/NVIDIA_SHIELD/Channels
2017/11/04 23:20:19 [SYS] Bonjour service running for dvr-shield.local. [10.0.0.34]
2017/11/04 23:20:19 [DVR] Waiting 7h39m40.873941935s until next job 1509879600-3 NBC 2 News Today Sunday 6A
2017/11/04 23:20:19 [SYS] Created database snapshot: backup-20171104.232019
2017/11/04 23:20:19 [SYS] Downloading new version v2017.11.03.0006
2017/11/05 01:02:58 [SYS] Starting Channels DVR v2017.11.01.2252 (android-arm64) in /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/data
2017/11/05 01:02:58 [HDR] Found 1 devices
2017/11/05 01:02:59 [SYS] Started HTTP Server
2017/11/05 01:03:04 [DVR] Recording engine started in /storage/B0CA-2A28/NVIDIA_SHIELD/Channels
2017/11/05 01:03:04 [SYS] Bonjour service running for dvr-shield.local. [10.0.0.34]
2017/11/05 01:03:04 [DVR] Waiting 5h56m55.007013758s until next job 1509879600-3 NBC 2 News Today Sunday 6A
2017/11/05 01:03:05 [SYS] Created database snapshot: backup-20171105.010305
2017/11/05 01:03:05 [SYS] Downloading new version v2017.11.03.0006
2017/11/05 01:03:15 [IDX] Pruned 128 expired airings from USA-FL61795-X in 848.698281ms.
2017/11/05 01:03:29 [SYS] Update downloaded and verified successfully.
2017/11/05 01:03:29 [SYS] Shutting down for upgrade from v2017.11.01.2252 to v2017.11.03.0006
2017/11/05 01:03:29 [SYS] Bonjour service stopped.
2017/11/05 01:03:29 [DVR] Recording engine stopped.
2017/11/05 01:03:30 [SYS] Starting Channels DVR v2017.11.03.0006 (android-arm64) in /mnt/expand/c2f9a076-a5eb-41f8-8e76-37e4f29c6b8b/user/0/com.getchannels.dvr/files/channels-dvr/data
2017/11/05 01:03:31 [HDR] Found 1 devices
2017/11/05 01:03:31 [SYS] Started HTTP Server
2017/11/05 01:03:32 [DVR] Recording engine started in /storage/B0CA-2A28/NVIDIA_SHIELD/Channels
2017/11/05 01:03:32 [DVR] Waiting 5h56m27.333674394s until next job 1509879600-3 NBC 2 News Today Sunday 6A
2017/11/05 01:03:32 [SYS] Bonjour service running for dvr-shield.local. [10.0.0.34]
2017/11/05 01:03:35 [SYS] Created database snapshot: backup-20171105.010332
2017/11/05 01:03:42 [IDX] Pruned 0 expired airings from USA-FL61795-X in 4.979062ms.

Notice Skips/New Entries from Previous Logs


#240

BTW, this is second time (in 4 days) that I’ve seen log entries change