add chromecast.css to sources.py
This commit is contained in:
		@@ -38,6 +38,13 @@ try:
 | 
			
		||||
except Exception as e:
 | 
			
		||||
    print(e)
 | 
			
		||||
else:
 | 
			
		||||
    try:
 | 
			
		||||
        resp = requests.get(f'https://cdn.jsdelivr.net/npm/@silvermine/videojs-chromecast@{chromecast_version}/dist/silvermine-videojs-chromecast.min.css')
 | 
			
		||||
    except Exception as e:
 | 
			
		||||
        print(e)
 | 
			
		||||
    else:
 | 
			
		||||
        with open("/app/chromecast.css", "w") as f:
 | 
			
		||||
            f.write(resp.text)
 | 
			
		||||
    with open("/app/version/chromecast.txt", "w") as f:
 | 
			
		||||
        f.write(chromecast_version)
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user