Skip to main content

Rough html gui for listening to internet

Project description

****************************
Radio Rough HTML
****************************

Radio rough HTML is a rough and simple interface for Mopidy. It is intended to provide a usable interface to excellent Mopidy via simpler devices and browsers that do not support fanciness that is java script.
Or you can use it if you like things simple and as fast as can be. It will work on pretty much anything with any sort of browser - tried it on an old IPod, pi zero with dillo, a ubuntu box ...

Once installed it will let you search YouTube, browse thousands of internet radio streams (via TuneIn) or podcasts published on iTunes. It will also support any additional Mopidy extensions you care to install (look `here <https://docs.mopidy.com/en/latest/ext/backends/>`_ for what's available, much interesting stuff like internet archive, spotify, soma fm ... ).

The look and feel are based on the principles of rough design. It serves its purpose without trying to sell anything, including itself.


Installation
============

If you already have `mopidy installed <https://docs.mopidy.com/en/latest/installation/>`_ and running, you can install just by running on a command line:
::
sudo pip install Mopidy-Radio-Rough-HTML

On Raspberries, probably the ideal setup is to run it with Pi Music Box. It will run just fine even on a pi zero and once installed you will find in at musicbox.local/radiorough.

Alternatively, on debian based machines (including Raspbian) download `installation script from here <https://github.com/unusualcomputers/unusualcomputers/blob/master/code/mopidy/mopidyradioroughhtml/rr.desktop>`_ (right click on the link and choose 'save as') and place it on the desktop (has to be on the desktop), then double click it. It will install all sorts of dependencies and will ask you if that's ok a couple of times along the way.
This will create an entry in the start menu in "Audio & Video" section, click on it and enjoy. Otherwise, once installed just run modpidy, e.g. sudo mopidy on the command line.

To download the above script from the command line run:
::
wget https://goo.gl/qjGZeG -O ~/Desktop/rr.desktop

It downloads and runs this `shell script <https://github.com/unusualcomputers/unusualcomputers/blob/master/code/mopidy/mopidyradioroughhtml/rasp_radio_rough_install.sh>`_


If you don't have Music Box set up it will be wherever your mopidy is in your browser, by default localhost:6680/radiorough or 127.0.0.1:6680/radiorough.
You can quite easily make it accessible from any computer on your local network at home: find the file mopidy.conf on your computer. For example by typing sudo find / -name mopidy.conf on the command line.
There may be more than one, just change them all as follows: open the file, any text editor will do,for example: sudo nano /root/.config/mopidy/mopidy.conf. I the file, find section [http] and in it the line that mentions 'hostname'. Change this line to be exactly: hostname=0.0.0.0 (make sure there is no # in front of it).
Then you can access radiorough from any computer on your network using the ip adress of the machine you are running it on, e.g. http://192.168.0.1:6680/radiorough. You can do even better by naming your host and making sure mopidy runs always, drop me a line if you need help with this.


Use
===

At the start Radio Rough will present you with the list of browsable Mopidy addins that you can explore by clicking on them.
Once you select one, a search box will appear at the top.
In addition, via the home page or buttons at the bottom of every page you can access Favorites, Playlists, Queue and History of tracks played (favorites and history are internal to radio rough, not the same ones you have in your browser and history is kept for a single session only).

The rest of the navigation is via buttons at the top of the screen and next to each item in lists, this should be quite intuitive and there are tooltips to help.

Since there are no dynamic features used (i.e. no JavaScript and such) to display track progress the page needs to be refreshed, you can make this happen automatically ever ten seconds or so using auto-refresh button at the bottom of every page.


Configuration
=============

Once installed it will work, you can disable it by setting enabled=false in [radio_rough_html] section of `mopidy.conf <https://docs.mopidy.com/en/latest/config/>`_.

Credits
=======

I used icons downloaded from `flaticon universal interface <https://www.flaticon.com/packs/universal-interface>`_.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Mopidy-Radio-Rough-HTML-3.14.15922.tar.gz (226.4 kB view details)

Uploaded Source

Built Distribution

Mopidy_Radio_Rough_HTML-3.14.15922-py2.py3-none-any.whl (235.9 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file Mopidy-Radio-Rough-HTML-3.14.15922.tar.gz.

File metadata

File hashes

Hashes for Mopidy-Radio-Rough-HTML-3.14.15922.tar.gz
Algorithm Hash digest
SHA256 f420328c27271e0dc2348fa1da43c3904e9b84cbee45b15647618c6bb3a5e544
MD5 67aeb2edd0055a28273bd4345be1a0c3
BLAKE2b-256 836c171dba93581e200b610982f207c77ad8056417c320ca86a3b42904df357d

See more details on using hashes here.

File details

Details for the file Mopidy_Radio_Rough_HTML-3.14.15922-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for Mopidy_Radio_Rough_HTML-3.14.15922-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 15004e1335460a1ecd6780696790c7272820bed2680e95d4a094d597713c37c6
MD5 a3a56644a0c34fe0f2f42ba13993aa2c
BLAKE2b-256 14fa306047bee837b4ac2a78ffb5f719c4d95a71f4dbd9e39480b0256a9c9956

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page