forked from rc/aircox
		
	streamer sound uri/path
This commit is contained in:
		@ -84,6 +84,7 @@ class SoundFile:
 | 
			
		||||
        # FIXME: sound.program as not null
 | 
			
		||||
        if not program:
 | 
			
		||||
            program = Program.get_from_path(self.path)
 | 
			
		||||
            logger.info('program from path "%s" -> %s', self.path, program)
 | 
			
		||||
        kwargs['program_id'] = program.pk
 | 
			
		||||
 | 
			
		||||
        sound, created = Sound.objects.get_or_create(file=self.sound_path, defaults=kwargs) \
 | 
			
		||||
 | 
			
		||||
		Reference in New Issue
	
	Block a user