mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-13 03:11:46 +00:00
chore: improve readability
This commit is contained in:
@ -7,7 +7,7 @@ import { backend } from './main';
|
||||
export interface ScrobblerPluginConfig {
|
||||
enabled: boolean;
|
||||
/**
|
||||
* Attempt to scrobble other video types (e.g. Podcasts, normal YouTube videos)
|
||||
* Attempt to scrobble other video types (e.g. Podcasts, normal videos)
|
||||
*
|
||||
* @default true
|
||||
*/
|
||||
|
||||
@ -91,8 +91,8 @@ function createRequestBody(
|
||||
track_name: title,
|
||||
release_name: songInfo.album ?? undefined,
|
||||
additional_info: {
|
||||
media_player: 'YouTube Music Desktop App',
|
||||
submission_client: 'YouTube Music Desktop App - Scrobbler Plugin',
|
||||
media_player: 'Pear Desktop App',
|
||||
submission_client: 'Pear Desktop App - Scrobbler Plugin',
|
||||
origin_url: songInfo.url,
|
||||
duration: songInfo.songDuration,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user