rpms/wxsvg/devel wxsvg.spec,1.29,1.30
by Sérgio M. Basto
Author: sergiomb
Update of /cvs/free/rpms/wxsvg/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv7424
Modified Files:
wxsvg.spec
Log Message:
Rebuilt for ffmpeg-2.2
Index: wxsvg.spec
===================================================================
RCS file: /cvs/free/rpms/wxsvg/devel/wxsvg.spec,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -r1.29 -r1.30
--- wxsvg.spec 17 Oct 2013 18:34:33 -0000 1.29
+++ wxsvg.spec 29 Mar 2014 16:15:11 -0000 1.30
@@ -1,6 +1,6 @@
Name: wxsvg
Version: 1.2.1
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: C++ library to create, manipulate and render SVG files
Group: System Environment/Libraries
@@ -67,6 +67,9 @@
%{_libdir}/pkgconfig/lib%{name}.pc
%changelog
+* Sat Mar 29 2014 Sérgio Basto <sergio(a)serjux.com> - 1.2.1-2
+- Rebuilt for ffmpeg-2.2
+
* Thu Oct 17 2013 Sérgio Basto <sergio(a)serjux.com> - 1.2.1-1
- Update to 1.2.1
10 years, 7 months
rpms/dvbcut/devel dvbcut.spec,1.26,1.27
by Sérgio M. Basto
Author: sergiomb
Update of /cvs/free/rpms/dvbcut/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv7353
Modified Files:
dvbcut.spec
Log Message:
Rebuilt for ffmpeg-2.2
Index: dvbcut.spec
===================================================================
RCS file: /cvs/free/rpms/dvbcut/devel/dvbcut.spec,v
retrieving revision 1.26
retrieving revision 1.27
diff -u -r1.26 -r1.27
--- dvbcut.spec 30 Sep 2013 08:40:03 -0000 1.26
+++ dvbcut.spec 29 Mar 2014 16:14:38 -0000 1.27
@@ -7,7 +7,7 @@
Name: dvbcut
Version: 0.6.1
-Release: 14.svn%{svnrev}%{?dist}
+Release: 15.svn%{svnrev}%{?dist}
Summary: Clip and convert DVB transport streams to MPEG2 program streams
Group: Applications/Multimedia
@@ -137,6 +137,9 @@
%changelog
+* Sat Mar 29 2014 Sérgio Basto <sergio(a)serjux.com> - 0.6.1-15.svn179
+- Rebuilt for ffmpeg-2.2
+
* Mon Sep 30 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 0.6.1-14.svn179
- Rebuilt
10 years, 7 months
rpms/chromaprint-tools/devel chromaprint-tools.spec,1.12,1.13
by Sérgio M. Basto
Author: sergiomb
Update of /cvs/free/rpms/chromaprint-tools/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv7305
Modified Files:
chromaprint-tools.spec
Log Message:
Rebuilt for ffmpeg-2.2
Index: chromaprint-tools.spec
===================================================================
RCS file: /cvs/free/rpms/chromaprint-tools/devel/chromaprint-tools.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- chromaprint-tools.spec 30 Sep 2013 08:39:54 -0000 1.12
+++ chromaprint-tools.spec 29 Mar 2014 16:14:34 -0000 1.13
@@ -1,6 +1,6 @@
Name: chromaprint-tools
Version: 1.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Chromaprint audio fingerprinting tools
Group: Applications/Multimedia
License: LGPLv2+
@@ -43,6 +43,9 @@
%{_bindir}/fpcalc
%changelog
+* Sat Mar 29 2014 Sérgio Basto <sergio(a)serjux.com> - 1.0-3
+- Rebuilt for ffmpeg-2.2
+
* Mon Sep 30 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0-2
- Rebuilt
10 years, 7 months
rpms/bombono-dvd/devel bombono-dvd.spec,1.20,1.21
by Sérgio M. Basto
Author: sergiomb
Update of /cvs/free/rpms/bombono-dvd/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv7257
Modified Files:
bombono-dvd.spec
Log Message:
Rebuilt for ffmpeg-2.2
Index: bombono-dvd.spec
===================================================================
RCS file: /cvs/free/rpms/bombono-dvd/devel/bombono-dvd.spec,v
retrieving revision 1.20
retrieving revision 1.21
diff -u -r1.20 -r1.21
--- bombono-dvd.spec 27 Dec 2013 16:23:18 -0000 1.20
+++ bombono-dvd.spec 29 Mar 2014 16:14:29 -0000 1.21
@@ -2,7 +2,7 @@
Name: bombono-dvd
Version: 1.2.2
-Release: 6%{?rel_tag}%{?dist}
+Release: 7%{?rel_tag}%{?dist}
Summary: DVD authoring program with nice and clean GUI
# License breakdown in README.
License: GPLv2 and GPLv2+ and Boost and Python and LGPLv2+
@@ -114,6 +114,9 @@
%{_mandir}/man1/*
%changelog
+* Sat Mar 29 2014 Sérgio Basto <sergio(a)serjux.com> - 1.2.2-7
+- Rebuilt for ffmpeg-2.2
+
* Fri Dec 27 2013 leamas(a)nowhere.net - 1.2.2-6
- Rebuild after F20 branching
10 years, 7 months
rpms/bino/devel bino.spec,1.10,1.11
by Sérgio M. Basto
Author: sergiomb
Update of /cvs/free/rpms/bino/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv7201
Modified Files:
bino.spec
Log Message:
Rebuilt for ffmpeg-2.2
Index: bino.spec
===================================================================
RCS file: /cvs/free/rpms/bino/devel/bino.spec,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- bino.spec 27 Nov 2013 13:54:28 -0000 1.10
+++ bino.spec 29 Mar 2014 16:14:02 -0000 1.11
@@ -1,6 +1,6 @@
Name: bino
Version: 1.4.4
-Release: 1%{?dist}
+Release: 2%{?dist}
Summary: 3D video player
Group: System Environment/Base
License: GPLv3+
@@ -74,6 +74,9 @@
%{_datadir}/icons/hicolor/*/apps/*
%changelog
+* Sat Mar 29 2014 Sérgio Basto <sergio(a)serjux.com> - 1.4.4-2
+- Rebuilt for ffmpeg-2.2
+
* Wed Nov 27 2013 Jaroslav Škarvada <jskarvad(a)redhat.com> - 1.4.4-1
- New version
10 years, 7 months
rpms/alsa-plugins-freeworld/devel alsa-plugins-freeworld.spec, 1.19, 1.20
by Sérgio M. Basto
Author: sergiomb
Update of /cvs/free/rpms/alsa-plugins-freeworld/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv6632
Modified Files:
alsa-plugins-freeworld.spec
Log Message:
Rebuilt for ffmpeg-2.2
Index: alsa-plugins-freeworld.spec
===================================================================
RCS file: /cvs/free/rpms/alsa-plugins-freeworld/devel/alsa-plugins-freeworld.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- alsa-plugins-freeworld.spec 7 Dec 2013 14:51:34 -0000 1.19
+++ alsa-plugins-freeworld.spec 29 Mar 2014 16:09:37 -0000 1.20
@@ -1,6 +1,6 @@
Name: alsa-plugins-freeworld
Version: 1.0.27
-Release: 3%{?dist}
+Release: 4%{?dist}
Summary: The ALSA Plugins - freeworld version
# All packages are LGPLv2+ with the exception of samplerate which is GPLv2+
License: LGPLv2+
@@ -105,6 +105,9 @@
%changelog
+* Sat Mar 29 2014 Sérgio Basto <sergio(a)serjux.com> - 1.0.27-4
+- Rebuilt for ffmpeg-2.2
+
* Sat Dec 07 2013 Nicolas Chauvet <kwizart(a)gmail.com> - 1.0.27-3
- Rebuilt for FFmpeg
10 years, 7 months
rpms/acoustid-fingerprinter/devel acoustid-fingerprinter.spec, 1.13, 1.14
by Sérgio M. Basto
Author: sergiomb
Update of /cvs/free/rpms/acoustid-fingerprinter/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv511
Modified Files:
acoustid-fingerprinter.spec
Log Message:
Rebuilt for ffmpeg-2.2
Index: acoustid-fingerprinter.spec
===================================================================
RCS file: /cvs/free/rpms/acoustid-fingerprinter/devel/acoustid-fingerprinter.spec,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -r1.13 -r1.14
--- acoustid-fingerprinter.spec 27 Nov 2013 13:39:46 -0000 1.13
+++ acoustid-fingerprinter.spec 29 Mar 2014 15:36:37 -0000 1.14
@@ -1,6 +1,6 @@
Name: acoustid-fingerprinter
Version: 0.6
-Release: 6%{?dist}
+Release: 7%{?dist}
Summary: Music AcoustID fingerprinting application
Group: System Environment/Libraries
@@ -74,6 +74,9 @@
%changelog
+* Sat Mar 29 2014 Sérgio Basto <sergio(a)serjux.com> - 0.6-7
+- Rebuilt for ffmpeg-2.2
+
* Wed Nov 27 2013 Leigh Scott <leigh123linux(a)googlemail.com> - 0.6-6
- Fix compile error
10 years, 7 months
rpms/pithos/F-20 pithos-buffer.patch, NONE, 1.1 pithos.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Patrick Griffis
Author: tingping
Update of /cvs/free/rpms/pithos/F-20
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv28563/F-20
Modified Files:
.cvsignore sources
Added Files:
pithos-buffer.patch pithos.spec
Log Message:
Initial commit
pithos-buffer.patch:
data/ui/PithosWindow.ui | 2 +-
pandora/fake.py | 9 ++++++---
pithos.py | 32 ++++++++++++++++++++++++--------
3 files changed, 31 insertions(+), 12 deletions(-)
--- NEW FILE pithos-buffer.patch ---
>From df24f173c7dde3a1b3631b50366757ba5853a3ea Mon Sep 17 00:00:00 2001
From: Greg Sheremeta <gshereme(a)redhat.com>
Date: Sat, 22 Feb 2014 17:02:34 -0500
Subject: [PATCH] fixed buffering bug described in issue #44 - backport to
0.3.18
---
pithos/data/ui/PithosWindow.ui | 2 +-
pithos/pandora/fake.py | 9 ++++++---
pithos/pithos.py | 31 ++++++++++++++++++++++++-------
3 files changed, 31 insertions(+), 11 deletions(-)
diff --git a/pithos/data/ui/PithosWindow.ui b/pithos/data/ui/PithosWindow.ui
index 11c63df..5ba2336 100644
--- a/pithos/data/ui/PithosWindow.ui
+++ b/pithos/data/ui/PithosWindow.ui
@@ -24,7 +24,7 @@
<property name="visible">True</property>
<property name="label" translatable="yes">Play</property>
<property name="stock_id">gtk-media-play</property>
- <signal name="clicked" handler="playpause"/>
+ <signal name="clicked" handler="user_playpause"/>
</object>
<packing>
<property name="expand">False</property>
diff --git a/pithos/pandora/fake.py b/pithos/pandora/fake.py
index 9d93a70..e770682 100644
--- a/pithos/pandora/fake.py
+++ b/pithos/pandora/fake.py
@@ -18,6 +18,8 @@
import gtk
import logging
+TEST_FILE = "http://pithos.github.io/testfile.aac"
+
class FakePandora(Pandora):
def __init__(self):
super(FakePandora, self).__init__()
@@ -105,18 +107,19 @@ def get_station_by_token(self, token):
def makeFakeSong(self, stationId):
c = self.count()
+ audio_url = TEST_FILE + '?val='+'0'*48
return {
'albumName':"AlbumName",
'artistName':"ArtistName",
'audioUrlMap': {
'highQuality': {
- 'audioUrl': 'http://pithos.github.io/testfile.aac?val='+'0'*48
+ 'audioUrl': audio_url
},
'mediumQuality': {
- 'audioUrl': 'http://pithos.github.io/testfile.aac?val='+'0'*48
+ 'audioUrl': audio_url
},
'lowQuality': {
- 'audioUrl': 'http://pithos.github.io/testfile.aac?val='+'0'*48
+ 'audioUrl': audio_url
},
},
'trackGain':0,
diff --git a/pithos/pithos.py b/pithos/pithos.py
index 1897368..45eec24 100755
--- a/pithos/pithos.py
+++ b/pithos/pithos.py
@@ -418,7 +418,8 @@ def start_song(self, song_index):
return self.next_song()
logging.info("Starting song: index = %i"%(song_index))
- self.buffer_percent = 100
+ self.buffer_percent = 0
+ self.song_started = False
self.player.set_property("uri", self.current_song.audioUrl)
self.play()
self.playcount += 1
@@ -436,13 +437,14 @@ def next_song(self, *ignore):
def user_play(self, *ignore):
self.play()
+ self.song_started = True
self.emit('user-changed-play-state', True)
def play(self):
if not self.playing:
self.playing = True
- self.player.set_state(gst.STATE_PLAYING)
- gobject.timeout_add_seconds(1, self.update_song_row)
+ self.player.set_state(gst.STATE_PLAYING)
+ gobject.timeout_add_seconds(1, self.update_song_row)
self.playpause_button.set_stock_id(gtk.STOCK_MEDIA_PAUSE)
self.update_song_row()
self.emit('play-state-changed', True)
@@ -474,6 +476,9 @@ def stop(self):
self.player.set_state(gst.STATE_NULL)
self.emit('play-state-changed', False)
+ def user_playpause(self, *ignore):
+ self.playpause_notify()
+
def playpause(self, *ignore):
if self.playing:
self.pause()
@@ -597,13 +602,23 @@ def on_gst_error(self, bus, message):
self.next_song()
def on_gst_buffering(self, bus, message):
+ # per GST documentation:
+ # Note that applications should keep/set the pipeline in the PAUSED state when a BUFFERING
+ # message is received with a buffer percent value < 100 and set the pipeline back to PLAYING
+ # state when a BUFFERING message with a value of 100 percent is received.
+
+ # 100% doesn't mean the entire song is downloaded, but it does mean that it's safe to play.
+ # trying to play before 100% will cause stuttering.
percent = message.parse_buffering()
self.buffer_percent = percent
- #if percent < 100:
- #self.player.set_state(gst.STATE_PAUSED)
- #elif self.playing:
- #self.player.set_state(gst.STATE_PLAYING)
+ if percent < 100:
+ self.player.set_state(gst.STATE_PAUSED)
+ else:
+ if self.playing:
+ self.play()
+ self.song_started = True
self.update_song_row()
+ logging.debug("Buffering (%i%%)"%self.buffer_percent)
def set_volume_cb(self, volume):
# Convert to the cubic scale that the volume slider uses
@@ -637,6 +652,8 @@ def song_text(self, song):
dur_int = self.player.query_duration(self.time_format, None)[0]
dur_str = self.format_time(dur_int)
pos_int = self.player.query_position(self.time_format, None)[0]
+ if not self.song_started:
+ pos_int = 0
pos_str = self.format_time(pos_int)
msg.append("%s / %s" %(pos_str, dur_str))
if not self.playing:
--
1.8.5.5
--- NEW FILE pithos.spec ---
Name: pithos
Version: 0.3.18
Release: 1%{?dist}
Summary: A Pandora client for the GNOME Desktop
Group: Applications/File
License: GPLv3
URL: http://pithos.github.io/
Source0: https://github.com/pithos/pithos/archive/%{version}.tar.gz#/%{name}-%{ver...
Patch0: https://github.com/pithos/pithos/commit/df24f173c7dde3a1b3631b50366757ba5...
BuildArch: noarch
BuildRequires: python2-devel python-setuptools desktop-file-utils
Requires: dbus-python
Requires: gstreamer-plugins-bad
Requires: gstreamer-plugins-good
Requires: gstreamer-python
Requires: notify-python
Requires: python-keybinder
Requires: pygobject2
Requires: pygtk2
Requires: pylast
Requires: pyxdg
Requires: hicolor-icon-theme
%description
Pithos is a Pandora client for the GNOME Desktop. The official Flash-based
client is a CPU hog, and Pianobar is a great reverse-engineered implementation,
but is command-line only. Neither integrate with the desktop very well, missing
things like media key support and song notifications.
%prep
%setup -q
%patch0 -p1
%install
%{__python2} setup.py install --root=%{buildroot}
%post
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
update-desktop-database &> /dev/null || :
%postun
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
update-desktop-database &> /dev/null || :
%files
%doc README.md
%{_bindir}/%{name}
%{python_sitelib}/%{name}/
%{python_sitelib}/%{name}-*.egg-info/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/
%changelog
* Thu Mar 27 2014 TingPing <tingping(a)tingping.se> - 0.3.18-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/pithos/F-20/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 29 Mar 2014 10:02:04 -0000 1.1
+++ .cvsignore 29 Mar 2014 11:24:31 -0000 1.2
@@ -0,0 +1 @@
+pithos-0.3.18.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/pithos/F-20/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 29 Mar 2014 10:02:04 -0000 1.1
+++ sources 29 Mar 2014 11:24:31 -0000 1.2
@@ -0,0 +1 @@
+44d0d81a1318a8bd5754c39b1f765e8b pithos-0.3.18.tar.gz
10 years, 8 months
rpms/pithos/devel pithos-buffer.patch, NONE, 1.1 pithos.spec, NONE, 1.1 .cvsignore, 1.1, 1.2 sources, 1.1, 1.2
by Patrick Griffis
Author: tingping
Update of /cvs/free/rpms/pithos/devel
In directory old02.ovh.rpmfusion.lan:/tmp/cvs-serv28011/devel
Modified Files:
.cvsignore sources
Added Files:
pithos-buffer.patch pithos.spec
Log Message:
Initial commit
pithos-buffer.patch:
data/ui/PithosWindow.ui | 2 +-
pandora/fake.py | 9 ++++++---
pithos.py | 32 ++++++++++++++++++++++++--------
3 files changed, 31 insertions(+), 12 deletions(-)
--- NEW FILE pithos-buffer.patch ---
>From df24f173c7dde3a1b3631b50366757ba5853a3ea Mon Sep 17 00:00:00 2001
From: Greg Sheremeta <gshereme(a)redhat.com>
Date: Sat, 22 Feb 2014 17:02:34 -0500
Subject: [PATCH] fixed buffering bug described in issue #44 - backport to
0.3.18
---
pithos/data/ui/PithosWindow.ui | 2 +-
pithos/pandora/fake.py | 9 ++++++---
pithos/pithos.py | 31 ++++++++++++++++++++++++-------
3 files changed, 31 insertions(+), 11 deletions(-)
diff --git a/pithos/data/ui/PithosWindow.ui b/pithos/data/ui/PithosWindow.ui
index 11c63df..5ba2336 100644
--- a/pithos/data/ui/PithosWindow.ui
+++ b/pithos/data/ui/PithosWindow.ui
@@ -24,7 +24,7 @@
<property name="visible">True</property>
<property name="label" translatable="yes">Play</property>
<property name="stock_id">gtk-media-play</property>
- <signal name="clicked" handler="playpause"/>
+ <signal name="clicked" handler="user_playpause"/>
</object>
<packing>
<property name="expand">False</property>
diff --git a/pithos/pandora/fake.py b/pithos/pandora/fake.py
index 9d93a70..e770682 100644
--- a/pithos/pandora/fake.py
+++ b/pithos/pandora/fake.py
@@ -18,6 +18,8 @@
import gtk
import logging
+TEST_FILE = "http://pithos.github.io/testfile.aac"
+
class FakePandora(Pandora):
def __init__(self):
super(FakePandora, self).__init__()
@@ -105,18 +107,19 @@ def get_station_by_token(self, token):
def makeFakeSong(self, stationId):
c = self.count()
+ audio_url = TEST_FILE + '?val='+'0'*48
return {
'albumName':"AlbumName",
'artistName':"ArtistName",
'audioUrlMap': {
'highQuality': {
- 'audioUrl': 'http://pithos.github.io/testfile.aac?val='+'0'*48
+ 'audioUrl': audio_url
},
'mediumQuality': {
- 'audioUrl': 'http://pithos.github.io/testfile.aac?val='+'0'*48
+ 'audioUrl': audio_url
},
'lowQuality': {
- 'audioUrl': 'http://pithos.github.io/testfile.aac?val='+'0'*48
+ 'audioUrl': audio_url
},
},
'trackGain':0,
diff --git a/pithos/pithos.py b/pithos/pithos.py
index 1897368..45eec24 100755
--- a/pithos/pithos.py
+++ b/pithos/pithos.py
@@ -418,7 +418,8 @@ def start_song(self, song_index):
return self.next_song()
logging.info("Starting song: index = %i"%(song_index))
- self.buffer_percent = 100
+ self.buffer_percent = 0
+ self.song_started = False
self.player.set_property("uri", self.current_song.audioUrl)
self.play()
self.playcount += 1
@@ -436,13 +437,14 @@ def next_song(self, *ignore):
def user_play(self, *ignore):
self.play()
+ self.song_started = True
self.emit('user-changed-play-state', True)
def play(self):
if not self.playing:
self.playing = True
- self.player.set_state(gst.STATE_PLAYING)
- gobject.timeout_add_seconds(1, self.update_song_row)
+ self.player.set_state(gst.STATE_PLAYING)
+ gobject.timeout_add_seconds(1, self.update_song_row)
self.playpause_button.set_stock_id(gtk.STOCK_MEDIA_PAUSE)
self.update_song_row()
self.emit('play-state-changed', True)
@@ -474,6 +476,9 @@ def stop(self):
self.player.set_state(gst.STATE_NULL)
self.emit('play-state-changed', False)
+ def user_playpause(self, *ignore):
+ self.playpause_notify()
+
def playpause(self, *ignore):
if self.playing:
self.pause()
@@ -597,13 +602,23 @@ def on_gst_error(self, bus, message):
self.next_song()
def on_gst_buffering(self, bus, message):
+ # per GST documentation:
+ # Note that applications should keep/set the pipeline in the PAUSED state when a BUFFERING
+ # message is received with a buffer percent value < 100 and set the pipeline back to PLAYING
+ # state when a BUFFERING message with a value of 100 percent is received.
+
+ # 100% doesn't mean the entire song is downloaded, but it does mean that it's safe to play.
+ # trying to play before 100% will cause stuttering.
percent = message.parse_buffering()
self.buffer_percent = percent
- #if percent < 100:
- #self.player.set_state(gst.STATE_PAUSED)
- #elif self.playing:
- #self.player.set_state(gst.STATE_PLAYING)
+ if percent < 100:
+ self.player.set_state(gst.STATE_PAUSED)
+ else:
+ if self.playing:
+ self.play()
+ self.song_started = True
self.update_song_row()
+ logging.debug("Buffering (%i%%)"%self.buffer_percent)
def set_volume_cb(self, volume):
# Convert to the cubic scale that the volume slider uses
@@ -637,6 +652,8 @@ def song_text(self, song):
dur_int = self.player.query_duration(self.time_format, None)[0]
dur_str = self.format_time(dur_int)
pos_int = self.player.query_position(self.time_format, None)[0]
+ if not self.song_started:
+ pos_int = 0
pos_str = self.format_time(pos_int)
msg.append("%s / %s" %(pos_str, dur_str))
if not self.playing:
--
1.8.5.5
--- NEW FILE pithos.spec ---
Name: pithos
Version: 0.3.18
Release: 1%{?dist}
Summary: A Pandora client for the GNOME Desktop
Group: Applications/File
License: GPLv3
URL: http://pithos.github.io/
Source0: https://github.com/pithos/pithos/archive/%{version}.tar.gz#/%{name}-%{ver...
Patch0: https://github.com/pithos/pithos/commit/df24f173c7dde3a1b3631b50366757ba5...
BuildArch: noarch
BuildRequires: python2-devel python-setuptools desktop-file-utils
Requires: dbus-python
Requires: gstreamer-plugins-bad
Requires: gstreamer-plugins-good
Requires: gstreamer-python
Requires: notify-python
Requires: python-keybinder
Requires: pygobject2
Requires: pygtk2
Requires: pylast
Requires: pyxdg
Requires: hicolor-icon-theme
%description
Pithos is a Pandora client for the GNOME Desktop. The official Flash-based
client is a CPU hog, and Pianobar is a great reverse-engineered implementation,
but is command-line only. Neither integrate with the desktop very well, missing
things like media key support and song notifications.
%prep
%setup -q
%patch0 -p1
%install
%{__python2} setup.py install --root=%{buildroot}
%post
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
update-desktop-database &> /dev/null || :
%postun
gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
update-desktop-database &> /dev/null || :
%files
%doc README.md
%{_bindir}/%{name}
%{python_sitelib}/%{name}/
%{python_sitelib}/%{name}-*.egg-info/
%{_datadir}/applications/%{name}.desktop
%{_datadir}/icons/hicolor/scalable/apps/
%changelog
* Thu Mar 27 2014 TingPing <tingping(a)tingping.se> - 0.3.18-1
- Initial package
Index: .cvsignore
===================================================================
RCS file: /cvs/free/rpms/pithos/devel/.cvsignore,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- .cvsignore 29 Mar 2014 10:02:04 -0000 1.1
+++ .cvsignore 29 Mar 2014 11:18:03 -0000 1.2
@@ -0,0 +1 @@
+pithos-0.3.18.tar.gz
Index: sources
===================================================================
RCS file: /cvs/free/rpms/pithos/devel/sources,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- sources 29 Mar 2014 10:02:04 -0000 1.1
+++ sources 29 Mar 2014 11:18:03 -0000 1.2
@@ -0,0 +1 @@
+44d0d81a1318a8bd5754c39b1f765e8b pithos-0.3.18.tar.gz
10 years, 8 months