2012-07-08, 09:22
_RDIO_PLAYBACK_SECRET = "A3wxEb2mooMZYl8nDOi2rg"
_RDIO_PLAYBACK_SECRET_SEED = 5381
How do you come up with the above?
_RDIO_PLAYBACK_SECRET_SEED = 5381
How do you come up with the above?
(2012-07-08, 18:11)bigballzbaby Wrote: hi guys im having a simular problem to dallas nights its playing songs/albums but only playing about 30 seconds of a song and then playing 30 seconds of the next song and so on its like its playing a sample any ideas??
# Get playback information
#
# The end of the 'surl' value initially points to a 0:30 sample. Replace it to
# get the full track.
pi = rdio_svc.getPlaybackInfo({
'domain': 'std.in',
'playbackToken': token,
'manualPlay': False,
'playerName': 'api_544189',
'type': 'flash',
'key': results[0]['key']})
if not pi:
fail('failed to get playback info')
auth = pi['auth']
surl = pi['surl'].replace('30s-96', 'full-192')
rtmp_info = {
'rtmp': 'rtmpe://%s:1935%s' % (pi['streamHost'], pi['streamApp']),
'app': pi['streamApp'][1:],
'playpath': 'mp3:%s' % pi['surl'].replace('30s-96', 'full-192')
}