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-31.41.5926.tar.gz (226.4 kB view details)

Uploaded Source

Built Distribution

Mopidy_Radio_Rough_HTML-31.41.5926-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-31.41.5926.tar.gz.

File metadata

File hashes

Hashes for Mopidy-Radio-Rough-HTML-31.41.5926.tar.gz
Algorithm Hash digest
SHA256 bcaf6179ffee590ed951c807a52d6c7bc694b58006d580d5e00966cda31a29e9
MD5 6977b85abb897a3d014d82095efef30a
BLAKE2b-256 1c2789c55c22b8a37825c05898762f388eb51996f868c8c118c23da3b9b9a628

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for Mopidy_Radio_Rough_HTML-31.41.5926-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 efc1ffff56a359b38cc2e7a31e824e418294370763c5e9f012596d7a90140535
MD5 165cf221a48737ed00d3947a618afe5d
BLAKE2b-256 3f0f349d43b14c4337359741f481618cd8e3a97ca035ea372d5fc2cbcc3b77b7

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