Difference between revisions of "WebFrontend"
Stevegoodey (talk | contribs) m (Typo) |
(Remove message about screen corruption - does not seem to happen any more) |
||
Line 6: | Line 6: | ||
==Running Web Frontend== | ==Running Web Frontend== | ||
− | Make sure the mythbackend is running on your master backend system. Open a browser and navigate to | + | Make sure the mythbackend is running on your master backend system. Open a browser and navigate to http://localhost:6544 on the master backend system. If you are accessing it from a different computer, substitute the master backed ip address or DNS name for ''localhost''. |
− | + | ===Admin Password=== | |
− | + | Admin pages of the web front end are protected by a password. The user id is ''admin'' and the initial password is ''mythtv''. You can change the password from the browser. | |
− | |||
− | |||
− | |||
==Home Page== | ==Home Page== | ||
Line 114: | Line 111: | ||
* [[#Edit Recording Rule|Edit Recording Rule]] | * [[#Edit Recording Rule|Edit Recording Rule]] | ||
Some of these do not work correctly, see [[#Program Guide|Program Guide]] for details. | Some of these do not work correctly, see [[#Program Guide|Program Guide]] for details. | ||
− | |||
− | |||
===Recording Rules=== | ===Recording Rules=== | ||
Line 148: | Line 143: | ||
Clicking the title, picture or question mark shows a detail page with the downloaded metadata, including description and a download/play button. The download/play button allows you to download or play the video on your default player as set up on the system from which you are accessing the web page. | Clicking the title, picture or question mark shows a detail page with the downloaded metadata, including description and a download/play button. The download/play button allows you to download or play the video on your default player as set up on the system from which you are accessing the web page. | ||
+ | <!-- This section is not ready - waiting for clarification | ||
+ | ==Setup== | ||
+ | All entries under here require the admin user id and password. For details see [[#Admin Password|Admin Password]]. | ||
+ | ===WebFrontend=== | ||
+ | There are three tabs to this page. | ||
+ | {| class="wikitable" style="width: 100%;" | ||
+ | |style="width: 20%;"|General | ||
+ | |style="width: 80%;"|There is nothing here yet. | ||
+ | |- | ||
+ | |Security||This tab provides the ability to set up https, which will provide security for the web server. Once you have set this up, you can access the site using ''<nowiki>https://dns_name:6554</nowiki>''. The setup requires either purchasing or creating your own ssl certificate. The certificate must match the DNS name, so you should not access it using an ip address. If you access your site via the Internet, the security provided will prevent hackers from seeing your admin password and from seeing what you are doing on the web site. Since most pages are not password protected, https will not prevent unauthorized users from accessing them. | ||
+ | |- | ||
+ | |Appearance||Currently there is only one setting, ''Enable Animations'', that can be turned on or off. It appears to have no effect. | ||
+ | |- | ||
+ | |} | ||
+ | |||
+ | ==Setup Wizard== | ||
+ | This page has several tabs, described below. | ||
+ | {| class="wikitable" style="width: 100%;" | ||
+ | |style="width: 20%;"|Database | ||
+ | |style="width: 80%;"|There are prompts for Database Host, Database User, Database Password and a button marked ''Test Database Settings''. This is not working yet. <!-- It does not include a prompt for the database name and assumes ''mythconverg'', and no matter what user id you supply it tries to connect using ''mythtv''. --> | ||
+ | |- | ||
+ | |Network|| | ||
+ | |- | ||
+ | |} | ||
+ | --> | ||
==Features== | ==Features== | ||
Revision as of 17:03, 11 April 2016
Contents
Introduction
The WebFrontend is a browser based frontend for MythTV. It will replace MythWeb but is not a full replacement for MythWeb in MythTV 0.28. Therefore MythWeb will still be available.
WebFrontend is served by an internal HTTP server in the mythbackend application and requires no additional dependencies or configuration, working out of the box.
Running Web Frontend
Make sure the mythbackend is running on your master backend system. Open a browser and navigate to http://localhost:6544 on the master backend system. If you are accessing it from a different computer, substitute the master backed ip address or DNS name for localhost.
Admin Password
Admin pages of the web front end are protected by a password. The user id is admin and the initial password is mythtv. You can change the password from the browser.
Home Page
The home page is always the first page seen.
The home page of Web Frontend has stacked sections as follows:
- Last Ten Recordings
- Current Tuner Activity
- Frontend Status
Last Ten Recordings | Screenshots from the last ten recordings are presented in a slide show. |
Current Tuner Activity | Your tuners listed, and the name of the program being recorded, if the tuner is active. |
Frontend Status | The frontends that have connected since the backend was started, and whether they are currently connected. |
At this time it is not possible to bookmark parts of the web frontend. You will always start at the home page.
Menu
If you hover the mouse over the left hand side of the screen the menu will appear on the left. Using this you can launch the various pages of the web front end.
- TV
- Video
- Setup
- WebFrontend
- Setup Wizard
- Advanced Setup
- Change Password
- Information
- Overview
- Backend Status
- View Logs
- Utilities
- Send a Message
- Database Tools
- Hardware Profile
- API
- WSDL Links
- Examples
- Server Side Scripting
- 3rd Party Software
- JW PlayerTM
TV
Program Guide
The program guide shows a grid with all of your channels, and programs obtained from the listing source. Programs that are already scheduled to record are shown with a green bar at the top. Programs that are scheduled but have a conflict show with a red bar at the top. You can navigate left and right using the arrow in the center of the left and right sides. Alternatively select a date and time from the drop down lists at the top.
If the channels show as question mark icons, you can use the mythtv setup program to download channel icons. This is done from the Setup Channel Editor.
Click on a program to setup or modify a recording rule. The following options are available for a program that is not already scheduled:
- Record this showing
- Record all showings
This does not work, use Edit Recording Rule instead. - Record one showing
This does not work, use Edit Recording Rule instead. - Record all showings (this channel)
This does not work, use Edit Recording Rule instead. - Edit Recording Rule
Provides the most options for setting up a recording
The following options are available for a program that is already scheduled:
- Don't Record
- Never Record
- Delete Recording Rule
- Edit Recording Rule
Recordings
This shows a list of your recordings. At the top you can filter by recording group or program name and sort ascending or descending.
Clicking a recording shows a menu:
- Delete
- Delete and Re-Record
- Edit Recording Rule
To the left of each recording is a thumbnail and a Watch button. Clicking the Watch button shows a menu:
- Play in Browser
- XSPF/M3U8/ASX
- Download
Upcoming Recordings
Sows a list of recordings that will be made from now until the end of the listings data available. At the top a drop down list allows filtering.
Clicking an entry displays a menu:
- Don't Record
- Never Record
- Delete Recording Rule
- Edit Recording Rule
Program Search
This searched the program listings for future programs. There are tabs to search by Title, Channel, People, Category and Keyword. In the list of results, clicking a program displays a menu:
- Record this showing
- Record all showings
- Record one showing
- Records all showings (this channel)
- Edit Recording Rule
Some of these do not work correctly, see Program Guide for details.
Recording Rules
Displays a list of your recording rules. Clicking an entry displays a menu:
- Disable Rule
- Enable Rule
- Delete Recording Rule
- Edit Recording Rule
Templates are also displayed. Attempting to edit them results in a blank screen displayed.
Edit Recording Rule
Tabs allow you to set up recording rules. The tabs are:
Details | List of upcoming recordings using the rule |
Schedule Options | Main settings for recording. Rule type, Start early/late, End early/late, Duplicate Matching, Input |
Filters | Standard filters, such as New Episode, This channel, Identifiable Episode. |
Storage Options | Recording Group, Storage Group, Playback Group, Episode Limit, Delete and Autoexpire. |
Post Processing | Jobs to be run. |
Metadata Options | TVDB or TMBD id, season, episode. |
Video
Video Gallery
Displays thumbnails for your videos. If metadata has been downloaded or entered for a video, a picture is displayed with the episode title underneath. If metadata is not available a large question mark is displayed with the file name above it.
Clicking the title, picture or question mark shows a detail page with the downloaded metadata, including description and a download/play button. The download/play button allows you to download or play the video on your default player as set up on the system from which you are accessing the web page.
|- |Network|| |- |} -->
Features
General
- No external dependencies, no configuration required
- HTML 5
- CSS 3
- Web Sockets - Real time updates with no polling
- HTML 5 Video support (work in progress) with HLS streaming (DASH support planned)
- TLS Encryption
- Digest Authentication
TV
Scheduling
- Programme Guide
- Schedule creation and editing
- Program searches by Title, Person, Category, Keyword and Channel
- Recording Rule Management
Recordings
- Recording Management
- Recording Playback in browser
- Remote control of playback in mythfrontend
- Streaming playlist support (M3U8, ASX, XSPF formats)
Screenshots
Setup
The WebFrontend is configured with a default account named "admin" protected by the password "mythtv" on installation.
Troubleshooting
404 Errors
The internal web server looks for files in /usr/share/mythtv/html/. If a different prefix was specified when building then the directory will be /my/directory/prefix/share/mythtv/html/. Check if this path exists and if it contains directories and .qsp files. Also make sure there are no symbolic links in the path below html. If you have installed mythtv in a directory below a symbolic link, you will get a 404 error when accessing the web frontend. You can get around the problem by specifying the MYTHCONFDIR environment variable to hold the canonical path as follows:
export MYTHCONFDIR=`readlink -e /my/directory/prefix`
Also, your storage directory paths as specified in mythtv-setup must not contain any symbolic links. If they do, video thumbnails will not work and error messages appear across the screen display.