diff --git a/000-default.conf b/000-default.conf index d6f938e..222b8c0 100644 --- a/000-default.conf +++ b/000-default.conf @@ -1,4 +1,5 @@ + DocumentRoot /var/www/html ErrorLog ${APACHE_LOG_DIR}/error.log diff --git a/README.md b/README.md index 666c52b..074db0d 100644 --- a/README.md +++ b/README.md @@ -5,10 +5,18 @@ Open source web player compatible with XtreamCodes V2 API Use a clean Ubuntu 18.04 (not running any other service or script will fail) and run the following: +*** Original Language *** ```sh curl -s https://raw.githubusercontent.com/tweakunwanted/OpenXC-Player/master/install.sh | sudo bash ``` +*** English Version *** + + +```sh +curl -s https://raw.githubusercontent.com/R3tr0R4z0r/OpenXC-Player/master/install-ENG.sh | sudo bash +``` + After that edit the file `/var/www/html/libs/config.php` ``` @@ -30,6 +38,21 @@ Edit `/etc/apache2/sites-available/000-default.conf` and add the following above ServerName domain.com ``` +#### Customisation + +Edit `/var/www/html/libs/idioma.php` for the following +* To use your own service name edit -- `define("NOME_IPTV", "YOUR SERVICE NAME HERE");` +* Welcome message edit -- `define('HOME_TEXTO_BEMVINDO','Welcome to the webplayer, login below.');` + +Change images and design +* All web player graphics can be found here -- `/var/www/html/assets/blue` +* Swap between Pre-configured tempaltes can eb done in -- `/var/www/html/libs/config.php -- $template = 'blue';` +Avialable Templates -- pink, aqua, orange or blue. + + +#### NOTE: Chrome and Firefox do not support MKV or AVI files as standard, this player has been tested with OperaGX which supports MKV. + + ### Screenshots ![image](https://user-images.githubusercontent.com/56216907/66614072-f1c31e80-eb9d-11e9-93ad-81610630685a.png) diff --git a/canais.php b/canais.php index 660c99e..819c949 100644 --- a/canais.php +++ b/canais.php @@ -84,7 +84,7 @@
-
Ao Vivo
+
Live
<?php echo $canal_nome; ?>
@@ -151,4 +151,4 @@ - \ No newline at end of file + diff --git a/filme.php b/filme.php index 4964997..8f55a27 100644 --- a/filme.php +++ b/filme.php @@ -98,7 +98,7 @@
- +


:



@@ -377,4 +377,4 @@ function() { }); - \ No newline at end of file + diff --git a/inc/busca.php b/inc/busca.php index 2fc5446..32f53c9 100644 --- a/inc/busca.php +++ b/inc/busca.php @@ -1,3 +1,3 @@
- +
\ No newline at end of file diff --git a/inc/header.php b/inc/header.php index cb92117..d0f4899 100644 --- a/inc/header.php +++ b/inc/header.php @@ -11,6 +11,6 @@ $data_inicio = new DateTime(date('Y-m-d')); $data_fim = new DateTime($dsfim); $dateInterval = $data_inicio->diff($data_fim); - echo $dateInterval->days . ' Dias'; + echo $dateInterval->days . ' Days'; ?> -
\ No newline at end of file + diff --git a/inc/menu.php b/inc/menu.php index 311ed6e..ef7bb0c 100644 --- a/inc/menu.php +++ b/inc/menu.php @@ -35,7 +35,7 @@