7
0
Fork 0
This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
visningsskripts/bin/bergentrainz

9 lines
195 B
Python
Executable File

#!/usr/bin/env python
# -*- coding: utf-8 -*-
import random
import os
time=int(random.random()*100)
timestr=str(time)+"%"
os.system("mpv ~/youtube-dl-vids/bergensbanen.mp4 --start=%s" %timestr)