mirror of
https://git.sr.ht/~phw/scotty
synced 2025-04-30 05:37:05 +02:00
allow datetime string as --timestamp parameter
This commit is contained in:
parent
c6be6c558f
commit
be1cfdac9e
4 changed files with 25 additions and 13 deletions
|
@ -104,12 +104,12 @@ Imported 4 of 4 loves into listenbrainz.
|
|||
Latest timestamp: 2023-11-23 14:44:46 +0100 CET (1700747086)
|
||||
```
|
||||
|
||||
Scotty will remember the latest timestamp for which it transferred data between the two services. The next time you run `scotty beam loves deezer listenbrainz` it will only consider tracks loved after the previous import. If you for some reason want to override this and start importing at an earlier time again, you can specify an earlier start time with the `--timestamp` parameter, which expects a Unix timestamp.
|
||||
Scotty will remember the latest timestamp for which it transferred data between the two services. The next time you run `scotty beam loves deezer listenbrainz` it will only consider tracks loved after the previous import. If you for some reason want to override this and start importing at an earlier time again, you can specify an earlier start time with the `--timestamp` parameter, which can be either a Unix timestamp (seconds since 1970-01-01 00:00:00) or a date time string like "2023-12-10 16:12:00".
|
||||
|
||||
For example to import listens starting at a specific timestamp use:
|
||||
|
||||
```
|
||||
scotty beam listens deezer listenbrainz --timestamp 1701872784
|
||||
scotty beam listens deezer listenbrainz --timestamp "2023-12-06 14:26:24"
|
||||
```
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue