forked from rc/aircox
WIP - Sound.file instead of Sound.path; fix issues with player; program.path is now relative
This commit is contained in:
@ -187,5 +187,5 @@ class QueueSourceViewSet(SourceViewSet):
|
||||
sound = get_object_or_404(self.get_sound_queryset(),
|
||||
pk=request.data['sound_id'])
|
||||
return self._run(
|
||||
pk, lambda s: s.push(sound.path) if sound.path else None)
|
||||
pk, lambda s: s.push(sound.file.path) if sound.file.path else None)
|
||||
|
||||
|
Reference in New Issue
Block a user