mirror of
https://github.com/ArthurDanjou/artdanj-api.git
synced 2026-01-29 19:10:28 +01:00
Change minimum progress duration
This commit is contained in:
@@ -10,7 +10,7 @@ async function LogSpotifyHistory(): Promise<void> {
|
|||||||
|
|
||||||
if (!current.is_playing) return
|
if (!current.is_playing) return
|
||||||
|
|
||||||
if (current.progress && current.progress < 1000) return
|
if (current.progress && current.progress < 5000) return
|
||||||
|
|
||||||
const last_entry = await Song.query().where('item_id', current.id!).orderBy('date', 'desc').first()
|
const last_entry = await Song.query().where('item_id', current.id!).orderBy('date', 'desc').first()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user