File tree Expand file tree Collapse file tree 3 files changed +160
-83
lines changed Expand file tree Collapse file tree 3 files changed +160
-83
lines changed Original file line number Diff line number Diff line change 24
24
infile = args [0 ]
25
25
outfile = args [1 ]
26
26
27
- maxio_rmtool_path = os .environ ["HOME" ] + "/Remarkable/maxio/rm_tools/rmtool.py" # modify depending on where maxio is installed!
27
+ maxio_rmtool_path = os .environ ["HOME" ] + "/Remarkable/maxio/rm_tools/rmtool.py" # NOTE: modify depending on where maxio is installed!
28
28
status , _ = subprocess .getstatusoutput (f"{ maxio_rmtool_path } convert \" { infile } \" \" { outfile } \" " ) # convert raw files to PDF
29
29
exit (status )
Original file line number Diff line number Diff line change 17
17
infile = args [0 ]
18
18
outfile = args [1 ]
19
19
20
- # RM file stems end with their uuid,
21
- # to render and download it from the USB web interface
20
+ # RM file stems end with their UUID:
21
+ # "abuse" this to render and download it from the USB web interface
22
22
uuid = os .path .basename (infile )
23
23
url = f"http://10.11.99.1/download/{ uuid } /placeholder"
24
24
try :
You can’t perform that action at this time.
0 commit comments