Skip to content
Permalink
Browse files

Version bump to 0.4

Documentation regarding the move from python2 to python3
  • Loading branch information...
halhen committed Nov 4, 2010
1 parent 7dd58d6 commit 7615fdc6898959067ddc4b1ea6f25070f81c78f9
Showing with 21 additions and 29 deletions.
  1. +1 −1 Makefile
  2. +7 −7 README
  3. +1 −4 config.mk
  4. +2 −4 documentation.md
  5. +2 −2 setup.py
  6. +2 −3 shoutcast-search
  7. +3 −3 shoutcast-search.1
  8. +2 −3 shoutcast_search/__init__.py
  9. +1 −2 shoutcast_search/shoutcast_search.py
@@ -11,7 +11,7 @@ install:
@python setup.py install --prefix=${PREFIX} --root=${DESTDIR}
@echo installing manual page to ${DESTDIR}${MANPREFIX}/man1
@mkdir -p ${DESTDIR}${MANPREFIX}/man1
@sed "s/CURVERSION/${VERSION}/g" < shoutcast-search.1 > ${DESTDIR}${MANPREFIX}/man1/shoutcast-search.1
@cp -f shoutcast-search.1 ${DESTDIR}${MANPREFIX}/man1/shoutcast-search.1
@chmod 644 ${DESTDIR}${MANPREFIX}/man1/shoutcast-search.1

uninstall:
14 README
@@ -1,13 +1,10 @@
shoutcast-search CURVERSION
shoutcast-search 0.4
========================
shoutcast-search searches shoutcast.com for radio stations based on
criteria given on the command line. The application can for example
be used to automatically start a random radio station at startup or
as an improved and handy search tool for radio stations.

See http://code.k2h.se for more info.


Example
-------
The following starts my day: launch vlc with a random station playing
@@ -19,12 +16,12 @@ listeners) quality.

Requirements
------------
* python 2.4+ (not python 3.0+)
* python 3


Installation
------------
python 2.4 or higher is required to run the application. You can simply
python 3 or higher is required to run the application. You can simply
copy the program to any directory and invoke it by

$ python shoutcast-search
@@ -52,6 +49,9 @@ For more information on usage see the man page shoutcast-search(1) or:

Changes
-------
0.4 (2010-11-04):
migration from python2 to python 3

0.3.1 (2009-04-15):
minor adjustmets in setup.py to make PyPI accept package

@@ -73,7 +73,7 @@ Changes

License
-------
Copyright (c) 2009 by Henrik Hallberg (halhen at k2h dot se)
Copyright (c) 2009-2010 by the Authors.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@ -1,6 +1,3 @@
# version
VERSION = "CURVERSION"

# paths
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
MANPREFIX = ${PREFIX}/share/man
@@ -2,9 +2,7 @@

shoutcast-search searches the [shoutcast.com](http://www.shoutcast.com) radio stations from your command line. It is developed and tested on Linux, but since it is written in Python it may run, or at least should be easily portable, to other operating systems.

* [man page](http://www.k2h.se/code/shoutcast-search.man.txt)
* [latest release](http://www.k2h.se/code/dl/shoutcast-search-latest.tar.gz)
* [source repository](http://github.com/halhen/shoutcast-search/tree/master)
* [source repository](http://github.com/halhen/shoutcast-search/)

Distribution specific links:

@@ -179,6 +177,6 @@ Check your audio players documentation on how to play shoutcast streams. Here fo
$ killall mpg123; shoutcast-search -t mpeg [...] | xargs mpg123 -q -@ &

## More information
For a complete reference, see the [man-page](http://www.k2h.se/code/shoutcast-search.man.txt) (`man shoutcast-search`).
For a complete reference, see the man-page (`man shoutcast-search`).

Written by Henrik Hallberg (<halhen@k2h.se>). Please send me an e-mail if you find bugs, have ideas for new features or just to let me know you use the application. I'd be happy to hear from you.
@@ -3,8 +3,8 @@

setup(
name = 'shoutcast_search',
version = 'CURVERSION',
url = 'http://code.k2h.se',
version = '0.4',
url = 'http://github.com/halhen/shoutcast-search',
author = 'Henrik Hallberg',
author_email = 'halhen@k2h.se',
license = 'GPL',
@@ -3,8 +3,7 @@
# scs - shoutcast search; search among station on shoutcast.com
# Use as application to e.g. start random stream on command line.
#
# Copyright (c) 2009 by Henrik Hallberg (halhen@k2h.se)
# http://code.k2h.se
# Copyright (c) 2009-2010 by the Authors.
# Please report bugs or feature requests by e-mail. Also, I'd be happy
# to hear from you if you enjoy this software.
#
@@ -149,7 +148,7 @@ def _generate_list_sorters(pattern = 'l'):

if __name__ == '__main__':
o = optparse.OptionParser(usage = "%prog [options] [keywords] - shoutcast search",
version="%prog CURVERSION",
version="%prog 0.4",
description = description)
o.add_option('', '--list-genres', dest='do_list_genres', action='store_true',
default=False, help='list available genres and exit')
@@ -1,4 +1,4 @@
.TH SHOUTCAST-SEARCH 1 shoutcast-search-CURVERSION
.TH SHOUTCAST-SEARCH 1 shoutcast-search-0.4
.SH NAME
shoutcast-search \- search shoutcast.com radio stations
.SH SYNOPSIS
@@ -182,9 +182,9 @@ Please report bugs to halhen@k2h.se
.SH SEE ALSO
http://forums.winamp.com/showthread.php?threadid=295638
http://www.shoutcast.com
http://code.k2h.se
http://github.com/halhen/shoutcast-search
.SH LICENSE
Copyright (c) 2009 by Henrik Hallberg (halhen@k2h.se)
Copyright (c) 2009-2010 by the Authors.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

@@ -1,7 +1,6 @@
# This file is part of the shoutcast_seach Python module
#
# Copyright (c) 2009 by Henrik Hallberg (halhen@k2h.se)
# http://code.k2h.se
# Copyright (c) 2009-2010 by the Authors.
# Please report bugs or feature requests by e-mail. Also, I'd be happy
# to hear from you if you enjoy this software.
#
@@ -19,7 +18,7 @@
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#

__version__ = 'CURVERSION'
__version__ = '0.4'

from . import shoutcast_search

@@ -2,8 +2,7 @@
#
# shoutcast_search.py - a library to search shoutcast.com
#
# Copyright (c) 2009 by Henrik Hallberg (halhen@k2h.se)
# http://code.k2h.se
# Copyright (c) 2009-2010 by the Authors.
# Please report bugs or feature requests by e-mail. Also, I'd be happy
# to hear from you if you enjoy this software.
#

0 comments on commit 7615fdc

Please sign in to comment.
You can’t perform that action at this time.