Project

General

Profile

Can't View Recordings from the Web Frontend.

Added by Ian Barton over 6 years ago

I am fairly sure this is a permissions problem, but can't seem to work it out.

I am running TVHeadend on Arch. Everything was working fine until I added emby to the video group, so I could watch recordings using emby. Now I can record new shows OK and watch them on either Kodi or Emby. However, the TVHeadend UI no longer shows any recordings. My recordings are stored in /var/media/TV. The permissions on this directory are:

drwxr-xr-x 2 hts video 4096 Jun 13 08:19 lost+found
drwxr-xr-x 2 hts video 4096 Aug 1 19:16 TV

Permissions on the files in the TV directory are:

-rwxr-xr-x 1 hts video 854193040 Jun 17 22:46 'CIA Declassified-Yesterday2018-06-1721-45.ts'


Replies (9)

RE: Can't View Recordings from the Web Frontend. - Added by Ian Barton over 6 years ago

Sorry, wasn't completely clear. The WebUI doesn't show any Recorded Shows in the Recorded Shows Tab.

RE: Can't View Recordings from the Web Frontend. - Added by Ian Barton over 6 years ago

This seems to be a Chrome problem. It happens on my Arch box running Version 68.0.3440.75 (Official Build) (64-bit) but not on my Chromebook running 67.0.3396.99

Edit:It works OK on my Android phone.

Here is the Javascript error from the page:

Uncaught RangeError: Unsupported time zone specified undefined
    at new DateTimeFormat (native)
    at Date.toLocaleTimeString (native)
    at setTime (tvh.js.gz:1329)
tvh.js.gz:566 Uncaught RangeError: Unsupported time zone specified undefined
    at new DateTimeFormat (native)
    at Date.toLocaleString (native)
    at constructor.renderer (tvh.js.gz:566)
    at constructor.doRender (tvh.js.gz:1)
    at constructor.renderRows (tvh.js.gz:1)
    at constructor.renderBody (tvh.js.gz:1)
    at constructor.refresh (tvh.js.gz:1)
    at constructor.onDataChange (tvh.js.gz:1)
    at h.Event.fire (tvh.js.gz:1)
    at constructor.fireEvent (tvh.js.gz:1)
6tvh.js.gz:1329 Uncaught RangeError: Unsupported time zone specified undefined
    at new DateTimeFormat (native)
    at Date.toLocaleTimeString (native)
    at setTime (tvh.js.gz:1329)
48tvh.js.gz:1329 Uncaught RangeError: Unsupported time zone specified undefined
    at new DateTimeFormat (native)
    at Date.toLocaleTimeString (native)
    at setTime (tvh.js.gz:1329)
setTime @ tvh.js.gz:1329
tvh.js.gz:566 Uncaught RangeError: Unsupported time zone specified undefined
    at new DateTimeFormat (native)
    at Date.toLocaleString (native)
    at constructor.renderer (tvh.js.gz:566)
    at constructor.doRender (tvh.js.gz:1)
    at constructor.renderRows (tvh.js.gz:1)
    at constructor.renderBody (tvh.js.gz:1)
    at constructor.refresh (tvh.js.gz:1)
    at constructor.onDataChange (tvh.js.gz:1)
    at h.Event.fire (tvh.js.gz:1)
    at constructor.fireEvent (tvh.js.gz:1)
(anonymous) @ tvh.js.gz:566
doRender @ tvh.js.gz:1
renderRows @ tvh.js.gz:1
renderBody @ tvh.js.gz:1
refresh @ tvh.js.gz:1
onDataChange @ tvh.js.gz:1
fire @ tvh.js.gz:1
fireEvent @ tvh.js.gz:1
loadRecords @ tvh.js.gz:1
onRead @ tvh.js.gz:1
(anonymous) @ tvh.js.gz:1
handleResponse @ tvh.js.gz:1
f @ tvh.js.gz:1
m @ tvh.js.gz:1
(anonymous) @ tvh.js.gz:1
setInterval (async)
n @ tvh.js.gz:1
i @ tvh.js.gz:1
request @ tvh.js.gz:1
request @ tvh.js.gz:1
doRequest @ tvh.js.gz:1
request @ tvh.js.gz:1
execute @ tvh.js.gz:1
load @ tvh.js.gz:1
(anonymous) @ tvh.js.gz:1
setTimeout (async)
defer @ tvh.js.gz:1
constructor @ tvh.js.gz:1
constructor @ tvh.js.gz:1
build @ tvh.js.gz:713
success @ tvh.js.gz:752
conf.success @ tvh.js.gz:1262
handleResponse @ tvh.js.gz:1
f @ tvh.js.gz:1
m @ tvh.js.gz:1
(anonymous) @ tvh.js.gz:1
setInterval (async)
n @ tvh.js.gz:1
i @ tvh.js.gz:1
request @ tvh.js.gz:1
request @ tvh.js.gz:1
tvheadend.Ajax @ tvh.js.gz:1265
builder @ tvh.js.gz:751
(anonymous) @ tvh.js.gz:1260
fire @ tvh.js.gz:1
fireEvent @ tvh.js.gz:1
setActiveTab @ tvh.js.gz:1
onStripMouseDown @ tvh.js.gz:1
I @ tvh.js.gz:1
36tvh.js.gz:1329 Uncaught RangeError: Unsupported time zone specified undefined
    at new DateTimeFormat (native)
    at Date.toLocaleTimeString (native)
    at setTime (tvh.js.gz:1329)
setTime @ tvh.js.gz:1329

RE: Can't View Recordings from the Web Frontend. - Added by Joe User over 6 years ago

What is the timezone setting of the Arch box?

RE: Can't View Recordings from the Web Frontend. - Added by Ian Barton over 6 years ago

It's Europe/London.

It all worked OK until I updated to the latest version of Chrome stable about a week ago.

RE: Can't View Recordings from the Web Frontend. - Added by Joe User over 6 years ago

Do other sites work ok - for instance: [[https://everytimezone.com/#]]?

RE: Can't View Recordings from the Web Frontend. - Added by Mark Clarkstone over 6 years ago

Ian Barton wrote:

It's Europe/London.

It all worked OK until I updated to the latest version of Chrome stable about a week ago.

I've just tried on Chrome unstable (70) and no problems here:

RE: Can't View Recordings from the Web Frontend. - Added by Joe User over 6 years ago

I just updated to 68 from 67 on Debian Stretch and it is working fine.

Unpacking google-chrome-stable (68.0.3440.84-1) over (67.0.3396.99-1)

Sorry, I don't have much experience with Arch Linux.

RE: Can't View Recordings from the Web Frontend. - Added by Ian Barton over 6 years ago

Thanks. I'll try deleting my settings and start from scratch and see if there was anything in there causing the problem.

Edit: just nuked my google configuration files and re-started from scratch. Still, have the same problem. I'll ask in the Arch forums and see if they can work out what the problem is.

RE: Can't View Recordings from the Web Frontend. - Added by Ian Barton about 6 years ago

Nuking my settings didn't work. As a workaround I am using Firefox, which woks fine.

    (1-9/9)