fix Desktop path error, revise main.py and update google writer tutorial

This commit is contained in:
rhythmcao
2024-02-06 21:45:03 +08:00
parent df5594b645
commit 8b42d699af
61 changed files with 201 additions and 191 deletions

View File

@@ -10,7 +10,7 @@
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1JqKzFk-4ru1BQdaInui37ORPC1btl7PK&export=download&authuser=0&confirm=t&uuid=449004d6-6f52-4ae3-9008-c2a0a6e0d17f&at=APZUnTXYRTL_FkB5l1TgseCgdSPK:1706155700724",
"path": "Desktop/lecture.pdf"
"path": "/home/user/Desktop/lecture.pdf"
}
]
}
@@ -21,7 +21,7 @@
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1jS74kYGOcEMOWyHZxlqmQVPmIC6A-UBm&export=download&authuser=0&confirm=t&uuid=0521f46a-9aa5-4dfc-9761-ae6256a31488&at=APZUnTWwRv10ztlVQq2oVsiMX2_r:1706155684550",
"path": "Desktop/Colorful-Flowers.mp3"
"path": "/home/user/Desktop/Colorful-Flowers.mp3"
}
]
}
@@ -32,14 +32,14 @@
"command": [
"vlc",
"--start-time=10",
"Desktop/Colorful-Flowers.mp3"
"/home/user/Desktop/Colorful-Flowers.mp3"
]
}
},
{
"type": "open",
"parameters": {
"path": "Desktop/lecture.pdf"
"path": "/home/user/Desktop/lecture.pdf"
}
},
{

View File

@@ -10,7 +10,7 @@
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=14-vhVMVw53e0l-MDVBFbngFAE1jMqvgm&export=download&authuser=0&confirm=t&uuid=d31607ed-0075-4fe5-b68c-b24b6eec356e&at=APZUnTV0Wy0672VFGrQChgHmd1Ba:1704337791613",
"path": "Desktop/Rick Astley - Never Gonna Give You Up (Official Music Video).mp4"
"path": "/home/user/Desktop/Rick Astley - Never Gonna Give You Up (Official Music Video).mp4"
}
]
}

View File

@@ -10,7 +10,7 @@
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=13OhDRuINzQ-w0qmzdGJ8ZSWnKyKnTRje&export=download&authuser=0&confirm=t&uuid=39cf0297-23eb-47df-a642-fd6c2f981eff&at=APZUnTUR83eI1tenMxVdyFxNeBo7:1706275408621",
"path": "Desktop/Gen 2.mp4"
"path": "/home/user/Desktop/Gen 2.mp4"
}
]
}
@@ -21,7 +21,7 @@
"command": [
"vlc",
"--start-time=15",
"Desktop/Gen 2.mp4"
"/home/user/Desktop/Gen 2.mp4"
]
}
},

View File

@@ -10,7 +10,7 @@
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=19jBiz8sb0M7KHHATO9qeTPr17aWm4me-&export=download&authuser=0&confirm=t&uuid=7a2261f4-3905-433f-b53f-a52dd0845651&at=APZUnTU1nmXSa1ObrA5NHYt8t1-p:1704710908141",
"path": "Desktop/Baby Justin Bieber.mp4"
"path": "/home/user/Desktop/Baby Justin Bieber.mp4"
}
]
}
@@ -21,7 +21,7 @@
"command": [
"vlc",
"--start-time=73",
"Desktop/Baby Justin Bieber.mp4"
"/home/user/Desktop/Baby Justin Bieber.mp4"
]
}
},
@@ -49,7 +49,7 @@
},
"result": {
"type": "vm_file",
"path": "Desktop/Baby Justin Bieber.mp3",
"path": "/home/user/Desktop/Baby Justin Bieber.mp3",
"dest": "baby.mp3"
}
}

View File

@@ -10,7 +10,7 @@
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1CLBjjsjGmHlbDg1lDcxfdE0F0C7-A5gZ&export=download&authuser=0&confirm=t&uuid=dde635fc-e223-4cd3-8065-899396e68d0a&at=APZUnTWQHdWYLLxlofuOIuhE2qiS:1704722380621",
"path": "Desktop/flipped_1984_Apple_Macintosh_Commercial.mp4"
"path": "/home/user/Desktop/flipped_1984_Apple_Macintosh_Commercial.mp4"
}
]
}
@@ -18,7 +18,7 @@
{
"type": "launch",
"parameters": {
"command": ["vlc", "Desktop/flipped_1984_Apple_Macintosh_Commercial.mp4"]
"command": ["vlc", "/home/user/Desktop/flipped_1984_Apple_Macintosh_Commercial.mp4"]
}
},
{

View File

@@ -10,7 +10,7 @@
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1H9D0jSkzpzEWsJZG0HdNNNHDMi3fnGli&export=download&authuser=0&confirm=t&uuid=a6d03223-db7a-48bd-b5f8-50b51f4d3d68&at=APZUnTVi3cqgvRV49c6sluV-nMo_:1704879367756",
"path": "Desktop/Interstellar Movie - Official Trailer.mp4"
"path": "/home/user/Desktop/Interstellar Movie - Official Trailer.mp4"
}
]
}
@@ -23,7 +23,7 @@
"--start-time=120.5",
"--stop-time=121",
"--play-and-pause",
"Desktop/Interstellar Movie - Official Trailer.mp4"
"/home/user/Desktop/Interstellar Movie - Official Trailer.mp4"
]
}
},

View File

@@ -10,7 +10,7 @@
"files": [
{
"url": "https://drive.usercontent.google.com/download?id=1u7CFVr5bWti7OnhvyjtSdQolzy0lYicm&export=download&authuser=0&confirm=t&uuid=18498a7c-9b52-4c00-a2cc-2e8b521c4d9c&at=APZUnTX0R_TRccU_UmtJWXZ6On3x:1704890439561",
"path": "Desktop/Interstellar Movie - Official Trailer.mp4"
"path": "/home/user/Desktop/Interstellar Movie - Official Trailer.mp4"
}
]
}
@@ -23,7 +23,7 @@
"--start-time=120.5",
"--stop-time=121",
"--play-and-pause",
"Desktop/Interstellar Movie - Official Trailer.mp4"
"/home/user/Desktop/Interstellar Movie - Official Trailer.mp4"
]
}
},
@@ -63,7 +63,7 @@
},
"result": {
"type": "vm_file",
"path": "Desktop/interstellar.png",
"path": "/home/user/Desktop/interstellar.png",
"dest": "interstellar.png"
}
}