diff --git a/src/utils/Player.js b/src/utils/Player.js index a0073ec..11af73a 100644 --- a/src/utils/Player.js +++ b/src/utils/Player.js @@ -3,7 +3,7 @@ import { getArtist } from '@/api/artist'; import { trackScrobble, trackUpdateNowPlaying } from '@/api/lastfm'; import { fmTrash, personalFM } from '@/api/others'; import { getPlaylistDetail, intelligencePlaylist } from '@/api/playlist'; -import { getLyric, getMP3, getTrackDetail, scrobble } from '@/api/track'; +import { getLyric, getMP3, getTrackDetail } from '@/api/track'; import store from '@/store'; import { isAccountLoggedIn } from '@/utils/auth'; import { cacheTrackSource, getTrackSource } from '@/utils/db'; @@ -309,11 +309,6 @@ export default class { ); const trackDuration = ~~(track.dt / 1000); time = completed ? trackDuration : ~~time; - scrobble({ - id: track.id, - sourceid: this.playlistSource.id, - time, - }); if ( store.state.lastfm.key !== undefined && (time >= trackDuration / 2 || time >= 240)