[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cplay-dev] Re: Bug#288700: cplay: Patch to allow URL's as commandline a
From: |
Ulf Betlehem |
Subject: |
[cplay-dev] Re: Bug#288700: cplay: Patch to allow URL's as commandline arguments |
Date: |
04 Feb 2005 15:08:08 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
Martin Michlmayr <address@hidden> writes:
| Ulf,
|
| Georg Lehner reported that it is currently impossible to pass an URL
| (a stream) to cplay on the command line:
|
| * Georg Lehner <address@hidden> [2005-01-05 02:45]:
| > The following patch makes cplay convert relative pathnames to
| > absolute ones inside the FileList Class. Thus URL's (streams) on
| > the commandline are recognized and preservered.
|
| Say you start cplay with:
| % cplay http://relay0.fm4.amd.co.at:31337/fm4-lq.ogg
| It will then run os.path.abspath() on this string which will lead to e.g.
| /home/tbm/http:/relay0.fm4.amd.co.at:31337/fm4-lq.ogg which obviously
| fails to open.
|
| Georg Lehner created a patch which only uses os.path.abspath() on
| arguments which are indeed local files. It's attached below. Can you
| please apply it.
The patch has been applied (with modification) to cplay-1.50pre5.
Thank you,
--
ulf
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cplay-dev] Re: Bug#288700: cplay: Patch to allow URL's as commandline arguments,
Ulf Betlehem <=