Changeset 6957 for bell-scheduler/trunk/fuentes/n4d-bellscheduler.install/usr/share/n4d/python-plugins/BellSchedulerManager.py
- Timestamp:
- Mar 5, 2018, 9:40:43 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
bell-scheduler/trunk/fuentes/n4d-bellscheduler.install/usr/share/n4d/python-plugins/BellSchedulerManager.py
r6952 r6957 258 258 duration=info[item]["play"]["duration"] 259 259 260 <<<<<<< .mine 260 261 261 if duration>0: 262 262 fade_out=int(duration)-2 … … 266 266 fade_effects='-af aformat=channel_layouts=mono ' 267 267 cmd="ffplay -nodisp -autoexit " 268 ||||||| .r6943269 fade_out=int(duration)-2270 fade_effects='-af afade=in:st=1:d=3,afade=out:st='+str(fade_out)+":d=2"271 cmd="ffplay -nodisp -autoexit -t "+str(duration)272 =======273 if duration>0:274 fade_out=int(duration)-2275 fade_effects='-af aformat=channel_layouts=mono -af afade=in:st=1:d=3,afade=out:st='+str(fade_out)+":d=2"276 cmd="ffplay -nodisp -autoexit -t "+str(duration)277 else:278 fade_effects='-af aformat=channel_layouts=mono '279 >>>>>>> .r6950280 268 281 269 if sound_option !="url": … … 291 279 info_to_cron["BellScheduler"][key]["cmd"]=cmd 292 280 293 print("###################################INFO TO CRON#######################")294 print(info_to_cron)295 281 return info_to_cron 296 282
Note: See TracChangeset
for help on using the changeset viewer.