1
This commit is contained in:
@@ -3,10 +3,10 @@ import time, subprocess, sys
|
|||||||
try:
|
try:
|
||||||
import vlc
|
import vlc
|
||||||
except:
|
except:
|
||||||
subprocess.check_call([sys.executable, "-m", "pip", "install", 'vlc'])
|
subprocess.check_call([sys.executable, "-m", "pip", "install", 'python-vlc'])
|
||||||
import vlc
|
import vlc
|
||||||
|
|
||||||
toxin = vlc.MediaPlayer("http://your_mp3_url")
|
toxin = vlc.MediaPlayer("https://github.com/BarsTiger/roflProjects/raw/master/files/toxin.mp3")
|
||||||
toxin.play()
|
toxin.play()
|
||||||
|
|
||||||
time.sleep(16)
|
time.sleep(16)
|
||||||
|
|||||||
Reference in New Issue
Block a user