Author: duncan
Date: Tue Feb 26 12:43:16 2008
New Revision: 10450
Log:
Bug in freevo_scrobbler.py
Patch from Jari Hamalainen applied
Modified:
branches/rel-1-7/freevo/src/audio/plugins/freevo_scrobbler.py
branches/rel-1/freevo/src/audio/plugins/freevo_scrobbler.py
Modified: branches/rel-1-7/freevo/src/audio/plugins/freevo_scrobbler.py
==============================================================================
--- branches/rel-1-7/freevo/src/audio/plugins/freevo_scrobbler.py
(original)
+++ branches/rel-1-7/freevo/src/audio/plugins/freevo_scrobbler.py Tue Feb
26 12:43:16 2008
@@ -91,7 +91,7 @@
'u': self.username,
's': self.password_hash
}
- if info['length'] > 30*1000 and info['title'] and info['artist']:
+ if info['length'] > 30 and info['title'] and info['artist']:
_debug_('Sending song: %r - %r' % (info['artist'], info['title']))
i = 0
stamp = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime())
Modified: branches/rel-1/freevo/src/audio/plugins/freevo_scrobbler.py
==============================================================================
--- branches/rel-1/freevo/src/audio/plugins/freevo_scrobbler.py (original)
+++ branches/rel-1/freevo/src/audio/plugins/freevo_scrobbler.py Tue Feb 26
12:43:16 2008
@@ -91,7 +91,7 @@
'u': self.username,
's': self.password_hash
}
- if info['length'] > 30*1000 and info['title'] and info['artist']:
+ if info['length'] > 30 and info['title'] and info['artist']:
_debug_('Sending song: %r - %r' % (info['artist'], info['title']))
i = 0
stamp = time.strftime('%Y-%m-%d %H:%M:%S', time.gmtime())
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Freevo-cvslog mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freevo-cvslog