diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..5e8c7ea --- /dev/null +++ b/Makefile @@ -0,0 +1,2 @@ +docker_up: + docker-compose -f wordpress.yml up diff --git a/README.md b/README.md new file mode 100644 index 0000000..d6e8a44 --- /dev/null +++ b/README.md @@ -0,0 +1,54 @@ +# KIT Wordpress Theme +Fork of the experimental KIT theme from kit-ausbildung.de, adapted to Wordpres. + +[![](https://git.project-insanity.org/onny/nextcloud-app-radio/raw/master/screenshot.png)](https://git.project-insanity.org/onny/nextcloud-app-radio/raw/master/screenshot.png) + +## Features + +- [x] Browse hundreds of radio stations world wide and play them directly +- [x] Save stations to your favorites list +- [x] Smooth playback with audio transitions +- [x] Explore new stations in the category section + +## Maintainers +* [Jonas Heinrich](https://git.scc.kit.edu/ubezi) + +## Installation + + * **From the appstore:** The most recent and stable version of the app can be found in the [official appstore](https://apps.nextcloud.com/apps/radio). + * **Using git:** In your `nextcloud/apps/` directory, run `git clone https://git.project-insanity.org/onny/nextcloud-app-radio.git radio`. Then go to the Apps manager tab in your Nextcloud web interface, and enable the Radio app. + * **Using the zip archive:** Download the latest [tar.bz2 archive](https://git.project-insanity.org/onny/nextcloud-app-radio/repository/archive.tar.bz2?ref=master), extract the directory inside your `nextcloud/apps/` directory, and rename it to `radio`. For stable releases, you can also download one of the [releases](https://git.project-insanity.org/onny/nextcloud-app-radio/) tar.bz2 archives. Then go to the Apps manager tab in your Nextcloud web interface, and enable the Radio app. + * **Using package manager:** For ArchLinux, there is an [AUR package](https://aur.archlinux.org/packages/nextcloud-app-radio-git/) available. + +## Testing +Can be easily tested using Docker: +``` +docker run -v /tmp/nextcloud-app-radio:/opt/nextcloud/apps/radio -d --name nextcloud -p 80:80 rootlogin/nextcloud +``` +First part of -v is the path to the cloned or downloaded nextcloud radio app. Debug running container it with: +``` +docker exec -i -t 665b4a1e17b6 /bin/bash +``` +Where -t specifies the container id. If you further need to access the sqlite-database, logs or files inside the data folder of Nextcloud, that you also have to share this folder with the host: +``` +docker run -v /tmp/dockerdata:/data/data -v /tmp/nextcloud-app-radio:/opt/nextcloud/apps/radio -d --name nextcloud -p 80:80 rootlogin/nextcloud +``` + +## Reporting bugs +You can report bugs in the public gitlab repository [here](https://git.project-insanity.org/onny/nextcloud-app-radio/issues) and for discussion you can find a section for the app in the offical Nextcloud forums [here](https://help.nextcloud.com/c/apps/radio). + +## Adding translations +For now only German translations are provided, so please submit your translations if possible :) It's really easy, just `git clone` this repo and copy the translation files in `l10n` according to your locale. Merge requests go to [this radio repository](https://git.project-insanity.org/onny/nextcloud-app-radio). + +## Adding radio stations +This app uses a public and open database of radio stations as its backend, so any station you add in [radio-browser.info](http://www.radio-browser.info/) (no account required), will be also available in this app. Feel free to contribute :) + +## Credits +* [radio-browser.info](http://www.radio-browser.info/) database api as backend for this app +* Python example code to query stream metadata, took from [here](https://anton.logvinenko.name/en/blog/how-to-get-title-from-audio-stream-with-python.html). + +## Donation +If you like this app and want to support my work, you can donate to this Bitcoin address: +``` +19mpmuNczGDgdxaBLBn3REEpQLPPcJHZB6 +``` diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..894f4fe --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,25 @@ +version: '3.1' + +services: + + wordpress: + image: wordpress + restart: always + ports: + - 8080:80 + environment: + WORDPRESS_DB_HOST: db + WORDPRESS_DB_USER: exampleuser + WORDPRESS_DB_PASSWORD: examplepass + WORDPRESS_DB_NAME: exampledb + volumes: + - /home/onny/projects/web-wordpress-pi-new/imnews:/var/www/html/wp-content/themes/imnews + + db: + image: mysql:5.7 + restart: always + environment: + MYSQL_DATABASE: exampledb + MYSQL_USER: exampleuser + MYSQL_PASSWORD: examplepass + MYSQL_RANDOM_ROOT_PASSWORD: '1' diff --git a/index b/kit/index similarity index 100% rename from index rename to kit/index diff --git a/index_files/100210-4-07_1190x700.jpg b/kit/index_files/100210-4-07_1190x700.jpg similarity index 100% rename from index_files/100210-4-07_1190x700.jpg rename to kit/index_files/100210-4-07_1190x700.jpg diff --git a/index_files/20171115-CN-12-031_1190x700.jpg b/kit/index_files/20171115-CN-12-031_1190x700.jpg similarity index 100% rename from index_files/20171115-CN-12-031_1190x700.jpg rename to kit/index_files/20171115-CN-12-031_1190x700.jpg diff --git a/index_files/20180724-CN-01-082_640px.jpg b/kit/index_files/20180724-CN-01-082_640px.jpg similarity index 100% rename from index_files/20180724-CN-01-082_640px.jpg rename to kit/index_files/20180724-CN-01-082_640px.jpg diff --git a/index_files/Banner_Video-Stellenanzeigen_1190x700_01.jpg b/kit/index_files/Banner_Video-Stellenanzeigen_1190x700_01.jpg similarity index 100% rename from index_files/Banner_Video-Stellenanzeigen_1190x700_01.jpg rename to kit/index_files/Banner_Video-Stellenanzeigen_1190x700_01.jpg diff --git a/index_files/Bewerbungstipps_shutterstock_366213614.jpg b/kit/index_files/Bewerbungstipps_shutterstock_366213614.jpg similarity index 100% rename from index_files/Bewerbungstipps_shutterstock_366213614.jpg rename to kit/index_files/Bewerbungstipps_shutterstock_366213614.jpg diff --git a/index_files/Dublin_4.jpg b/kit/index_files/Dublin_4.jpg similarity index 100% rename from index_files/Dublin_4.jpg rename to kit/index_files/Dublin_4.jpg diff --git a/index_files/Form.js b/kit/index_files/Form.js similarity index 100% rename from index_files/Form.js rename to kit/index_files/Form.js diff --git a/index_files/Luftbild_Campus-Nord.jpg b/kit/index_files/Luftbild_Campus-Nord.jpg similarity index 100% rename from index_files/Luftbild_Campus-Nord.jpg rename to kit/index_files/Luftbild_Campus-Nord.jpg diff --git a/index_files/SKYLAR_front_1190x700.jpg b/kit/index_files/SKYLAR_front_1190x700.jpg similarity index 100% rename from index_files/SKYLAR_front_1190x700.jpg rename to kit/index_files/SKYLAR_front_1190x700.jpg diff --git a/index_files/Tabs.js b/kit/index_files/Tabs.js similarity index 100% rename from index_files/Tabs.js rename to kit/index_files/Tabs.js diff --git a/index_files/common.js b/kit/index_files/common.js similarity index 100% rename from index_files/common.js rename to kit/index_files/common.js diff --git a/index_files/cookieconsent.css b/kit/index_files/cookieconsent.css similarity index 100% rename from index_files/cookieconsent.css rename to kit/index_files/cookieconsent.css diff --git a/index_files/cookieconsent.js b/kit/index_files/cookieconsent.js similarity index 100% rename from index_files/cookieconsent.js rename to kit/index_files/cookieconsent.js diff --git a/index_files/csm_163_IHK_Ausbildungsehrung_2019_a4270e3eeb.jpg b/kit/index_files/csm_163_IHK_Ausbildungsehrung_2019_a4270e3eeb.jpg similarity index 100% rename from index_files/csm_163_IHK_Ausbildungsehrung_2019_a4270e3eeb.jpg rename to kit/index_files/csm_163_IHK_Ausbildungsehrung_2019_a4270e3eeb.jpg diff --git a/index_files/csm_171006-03_1050x500_09dbdbcf6d.jpg b/kit/index_files/csm_171006-03_1050x500_09dbdbcf6d.jpg similarity index 100% rename from index_files/csm_171006-03_1050x500_09dbdbcf6d.jpg rename to kit/index_files/csm_171006-03_1050x500_09dbdbcf6d.jpg diff --git a/index_files/csm_20150901-CN-04-015-1050x500_bd7c3215a6.jpg b/kit/index_files/csm_20150901-CN-04-015-1050x500_bd7c3215a6.jpg similarity index 100% rename from index_files/csm_20150901-CN-04-015-1050x500_bd7c3215a6.jpg rename to kit/index_files/csm_20150901-CN-04-015-1050x500_bd7c3215a6.jpg diff --git a/index_files/csm_20160802-CN-01-689_1050x500_04c8fa3a73.jpg b/kit/index_files/csm_20160802-CN-01-689_1050x500_04c8fa3a73.jpg similarity index 100% rename from index_files/csm_20160802-CN-01-689_1050x500_04c8fa3a73.jpg rename to kit/index_files/csm_20160802-CN-01-689_1050x500_04c8fa3a73.jpg diff --git a/index_files/csm_20160808-CN-02-060_1050x500_9b8965b34f.jpg b/kit/index_files/csm_20160808-CN-02-060_1050x500_9b8965b34f.jpg similarity index 100% rename from index_files/csm_20160808-CN-02-060_1050x500_9b8965b34f.jpg rename to kit/index_files/csm_20160808-CN-02-060_1050x500_9b8965b34f.jpg diff --git a/index_files/csm_20190902-CN-01-004_523fb7b7f7.jpg b/kit/index_files/csm_20190902-CN-01-004_523fb7b7f7.jpg similarity index 100% rename from index_files/csm_20190902-CN-01-004_523fb7b7f7.jpg rename to kit/index_files/csm_20190902-CN-01-004_523fb7b7f7.jpg diff --git a/index_files/csm_Gesamte_Arbeitsgruppe_055588578a.jpg b/kit/index_files/csm_Gesamte_Arbeitsgruppe_055588578a.jpg similarity index 100% rename from index_files/csm_Gesamte_Arbeitsgruppe_055588578a.jpg rename to kit/index_files/csm_Gesamte_Arbeitsgruppe_055588578a.jpg diff --git a/index_files/csm_IMG_1331__1600_x_1200__2c1cadfc93.jpg b/kit/index_files/csm_IMG_1331__1600_x_1200__2c1cadfc93.jpg similarity index 100% rename from index_files/csm_IMG_1331__1600_x_1200__2c1cadfc93.jpg rename to kit/index_files/csm_IMG_1331__1600_x_1200__2c1cadfc93.jpg diff --git a/index_files/faq-white.svg b/kit/index_files/faq-white.svg similarity index 100% rename from index_files/faq-white.svg rename to kit/index_files/faq-white.svg diff --git a/index_files/jquery-3.js b/kit/index_files/jquery-3.js similarity index 100% rename from index_files/jquery-3.js rename to kit/index_files/jquery-3.js diff --git a/index_files/jquery.js b/kit/index_files/jquery.js similarity index 100% rename from index_files/jquery.js rename to kit/index_files/jquery.js diff --git a/index_files/jquery_002.js b/kit/index_files/jquery_002.js similarity index 100% rename from index_files/jquery_002.js rename to kit/index_files/jquery_002.js diff --git a/index_files/js b/kit/index_files/js similarity index 100% rename from index_files/js rename to kit/index_files/js diff --git a/index_files/kit-logo-without-text.svg b/kit/index_files/kit-logo-without-text.svg similarity index 100% rename from index_files/kit-logo-without-text.svg rename to kit/index_files/kit-logo-without-text.svg diff --git a/index_files/kit-logo.svg b/kit/index_files/kit-logo.svg similarity index 100% rename from index_files/kit-logo.svg rename to kit/index_files/kit-logo.svg diff --git a/index_files/kit_dhwb_duales-studium.jpg b/kit/index_files/kit_dhwb_duales-studium.jpg similarity index 100% rename from index_files/kit_dhwb_duales-studium.jpg rename to kit/index_files/kit_dhwb_duales-studium.jpg diff --git a/index_files/magnific-popup.css b/kit/index_files/magnific-popup.css similarity index 100% rename from index_files/magnific-popup.css rename to kit/index_files/magnific-popup.css diff --git a/index_files/magnific-popup.js b/kit/index_files/magnific-popup.js similarity index 100% rename from index_files/magnific-popup.js rename to kit/index_files/magnific-popup.js diff --git a/index_files/magnifier-dark.svg b/kit/index_files/magnifier-dark.svg similarity index 100% rename from index_files/magnifier-dark.svg rename to kit/index_files/magnifier-dark.svg diff --git a/index_files/magnifier-white.svg b/kit/index_files/magnifier-white.svg similarity index 100% rename from index_files/magnifier-white.svg rename to kit/index_files/magnifier-white.svg diff --git a/index_files/mail-white.svg b/kit/index_files/mail-white.svg similarity index 100% rename from index_files/mail-white.svg rename to kit/index_files/mail-white.svg diff --git a/index_files/main.css b/kit/index_files/main.css similarity index 100% rename from index_files/main.css rename to kit/index_files/main.css diff --git a/index_files/main.js b/kit/index_files/main.js similarity index 100% rename from index_files/main.js rename to kit/index_files/main.js diff --git a/index_files/nav-second-level-barchart-primary.svg b/kit/index_files/nav-second-level-barchart-primary.svg similarity index 100% rename from index_files/nav-second-level-barchart-primary.svg rename to kit/index_files/nav-second-level-barchart-primary.svg diff --git a/index_files/nav-second-level-flask-primary.svg b/kit/index_files/nav-second-level-flask-primary.svg similarity index 100% rename from index_files/nav-second-level-flask-primary.svg rename to kit/index_files/nav-second-level-flask-primary.svg diff --git a/index_files/nav-second-level-person-primary.svg b/kit/index_files/nav-second-level-person-primary.svg similarity index 100% rename from index_files/nav-second-level-person-primary.svg rename to kit/index_files/nav-second-level-person-primary.svg diff --git a/index_files/nav-second-level-star-primary.svg b/kit/index_files/nav-second-level-star-primary.svg similarity index 100% rename from index_files/nav-second-level-star-primary.svg rename to kit/index_files/nav-second-level-star-primary.svg diff --git a/index_files/nav-second-level-wrench-primary.svg b/kit/index_files/nav-second-level-wrench-primary.svg similarity index 100% rename from index_files/nav-second-level-wrench-primary.svg rename to kit/index_files/nav-second-level-wrench-primary.svg diff --git a/index_files/parsley.js b/kit/index_files/parsley.js similarity index 100% rename from index_files/parsley.js rename to kit/index_files/parsley.js diff --git a/index_files/start-big-image-1.png b/kit/index_files/start-big-image-1.png similarity index 100% rename from index_files/start-big-image-1.png rename to kit/index_files/start-big-image-1.png diff --git a/index_files/swiper.css b/kit/index_files/swiper.css similarity index 100% rename from index_files/swiper.css rename to kit/index_files/swiper.css diff --git a/index_files/swiper.js b/kit/index_files/swiper.js similarity index 100% rename from index_files/swiper.js rename to kit/index_files/swiper.js diff --git a/index_files/util.js b/kit/index_files/util.js similarity index 100% rename from index_files/util.js rename to kit/index_files/util.js