Internet radio browser GUI for music/video streams from various directory services.

⌈⌋ ⎇ branch:  streamtuner2


Update of "windows"

Overview

Artifact ID: dc5a172f961350b0aa522cec1c788893213f0de1
Page Name:windows
Date: 2016-11-09 20:27:08
Original User: mario
Mimetype:text/x-markdown
Parent: c50690b1d4c5d60759fb02eebea19651f16941ef (diff)
Next 978b9742e9176e84df2bcf3750e5f5531e6c3f0a
Content

Streamtuner2 also runs under Windows. Current versions weren't tested thoroughly.

0install

Simplest option to run it is per 0install feed however:

Ought to work for Windows, MacOS, and BSD/Linux systems.

Exe "installer"

ST2 requires a working Python installation first. That includes Python with Gtk bindings, the requests and pyquery packages.

The available .exe installer is really just a self-extracting ZIP. It'll unpack to Unix-style paths C:/usr/bin/ and C:/usr/share/streamtuner2.

  • (The exe is actually more suitable now as raw zip/tarball, that just happens to have a wine GUI.)

PYZ package

With the new .pyz package it's even easier to use ST2 however. So that's now the recommended approach. Simply start it with:

    python streamtuner2.pyz

Or rename it to have a .pyzw extension, in case your setup already picks that up.

(Again, you need a working Python+Gtk setup first.)


There are probably modern Python distributions for Windows. No idea. It's definitely not something that should be handled on a per-application basis and with PyInstaller embellishments.

Manual installation of Python 2.7

Oliver found a dependable recommendation for using Python 2 in this discussion about PyGtk and PyGObject: http://stackoverflow.com/questions/12981137/gi-repository-windows

It may be outdated, since it's from the year 2012.

So I built my environment for Windows 7 with the following components: (not sure if it would also run on Windows XP, I remember having read some restrictions about XP). I will also test it on Windows 10 later... Install python-2.7.12.msi from https://www.python.org/downloads/windows/ (should be 32-Bit according to README in http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/) Install pygtk-all-in-one-2.24.2.win32-py2.7.msi from http://ftp.gnome.org/pub/GNOME/binaries/win32/pygtk/2.24/ Install requests via "easy_install.exe requests" from the Python scripts path Install lxml-2.3.win32-py2.7.exe from https://pypi.python.org/pypi/lxml/2.3 Install pyquery-1.2.17-py2.py3-none-any.whl from https://pypi.python.org/pypi/pyquery/1.2.17 via "pip install [Path]pyquery-1.2.17-py2.py3-none-any.whl" Install PIL-1.1.7.win32-py2.7.exe from http://www.pythonware.com/products/pil/

Manual installation of Python 3.4

Python 3.4 and the newer PyGI (Gtk3) might also work meanwhile.