adamsutton / tvheadend

Tvheadend is a TV streaming server for Linux supporting DVB-S, DVB-S2, DVB-C, DVB-T, ATSC, IPTV, and Analog video (V4L) as input sources.
http://www.lonelycoder.com/hts/tvheadend_overview.html
Other
18 stars 5 forks source link

WebUi is broken #24

Closed oneadvent closed 12 years ago

oneadvent commented 12 years ago

The webui is showing just a blank screen, tvheadend starts like this: oneadvent@XBMC:/usr/bin$ sudo tvheadend [INFO]:dvb: Found adapter /dev/dvb/adapter0 (HDHomeRun ATSC) via PCI [INFO]:dvb: Found adapter /dev/dvb/adapter1 (HDHomeRun ATSC) via PCI [INFO]:v4l: /dev/video0: uvcvideo Villem usb-0000:00:1a.0-1.5 capabilities: 0x04000001 [INFO]:v4l: /dev/video0: Input #0: Camera 1 (Camera), audio:0x0, tuner:0, standard:0000000000000000, [INFO]:v4l: /dev/video0: Format #0: YUV 4:2:2 (YUYV) [YUYV] [WARNING]:v4l: /dev/video0: Device does not have a tuner, device skipped [ERROR]:webui: No source path providing HTTP content: "/static". Checked in "/usr/bin/" and in the binary's embedded file system. [ERROR]:webui: No source path providing HTTP content: "/docs". Checked in "/usr/bin/" and in the binary's embedded file system. [ERROR]:webui: No source path providing HTTP content: "/docresources". Checked in "/usr/bin/" and in the binary's embedded file system. [NOTICE]:EPG: Injected 3154 event from disk database [INFO]:dvr: Creating new configuration '' [INFO]:CSA: Using SSE2 128bit parallel descrambling [NOTICE]:START: HTS Tvheadend version started, running as PID:26715 UID:0 GID:0, settings located in '/home/oneadvent/.hts/tvheadend', dataroot: /usr/bin/ [INFO]:xmltv: Grabbing "North America (Data Direct)" using command "/usr/bin/tv_grab_na_dd" [INFO]:AVAHI: Service 'Tvheadend' successfully established.

And when I try and reload the page I get this KIND of stuff:

[ERROR]:HTTP: 192.168.1.191: /static/app/dvb.js -- 404
[ERROR]:HTTP: 192.168.1.191: /static/app/iptv.js -- 404
[ERROR]:HTTP: 192.168.1.191: /static/app/v4l.js -- 404
[ERROR]:HTTP: 192.168.1.191: /static/app/chconf.js -- 404
[ERROR]:HTTP: 192.168.1.191: /static/app/epg.js -- 404
[ERROR]:HTTP: 192.168.1.191: /static/app/dvr.js -- 404
[ERROR]:HTTP: 192.168.1.191: /static/app/xmltv.js -- 404
[ERROR]:HTTP: 192.168.1.191: /static/app/tvheadend.js -- 404

Let me know if I need to provide any other information

nmaclean commented 12 years ago

You need to do make install now - I had this issue too.

It copies the web resources and docs over to the prefix/ location.

adamsutton commented 12 years ago

Yeah there are a few different ways to build/use tvheadend. Personally I use 1 of two approaches:

  1. I just run it locally from the development tree when I'm testing stuff: $ ./configure $ make $ ./build.linux/tvheadend Note: you might need to tweak specifics (like configure options)
  2. If I need something more permanent I just build a new deb and install that $ AUTOBUILD_CONFIGURE_EXTRA= ./Autobuild.sh -t precise-amd64 $ sudo dpkg -i ../CREATED_DEB_PATH

Again you might need slightly different values to the Autobuild script.

adamsutton commented 12 years ago

Going to close this as I don't believe its anything to do with my code. I'll try and catch you in IRC though.