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
Plaintext
Raw Permalink Normal View History

2014-08-31 20:42:30 +02:00
#!/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)