audirvana origin scrobbler last fm

27 天前
a66243766  a66243766

audirvana origin scrobbler last fm

last fm

Last.fm 是一個以英國為總部的網路電台和音樂社群。有遍布 232 個國家超過 1500 萬的活躍聽眾。2007 年被 CBS 互動以 2.8 億美元價格收購,是目前歐洲 Web 2.0 網站中成交價最高的 ...

audirvana origin scrobble

  1. 上传听歌数据到 last fm
  2. 需要自己根据 readme.md 配置自己的文件执行脚本使用 golang 实现

为什么要用好这个?

仓库地址

地址

https://github.com/vincenty1ung/audirvana-origin-scrobbler

日志

➜  ~ tail -f ~/Developer/code/other/audirvana-origin-scrobbler/logs/go_audirvana-origin-scrobbler.log
{"level":"info","ts":"2025-01-24 13:46:27","caller":"scrobbler/track_check_playing.go:127","msg":"NowPlayingTrackInfo","audirvanaTrackInfo":{"TrackID":"","Title":"电动少女","Album":"Here Comes a New Challenger!!!","Artist":"Chinese Football","Duration":310,"Position":17.055999755859375,"Url":"file:///Users/vincent/Documents/多媒体/音乐/CD/Chinese Football/Here Comes a New Challenger!!!/01 电动少女.m4a","AirfoiLogo":""}}
{"level":"info","ts":"2025-01-24 13:46:27","caller":"scrobbler/lastfm.go:253","msg":"TrackUpdateNowPlaying","req":{"api_key":"","api_sig":"","sk":"","artist":"Chinese Football","albumArtist":"Chinese Football","track":"电动少女","album":"Here Comes a New Challenger!!!","trackNumber":1,"mbid":"164c18f1-2c8f-48a1-9a40-6ccec763e297","context":"","duration":310}}
{"level":"info","ts":"2025-01-24 13:49:03","caller":"scrobbler/lastfm.go:232","msg":"PushTrackScrobble:","req":{"api_key":"","api_sig":"","artist":"Chinese Football","albumArtist":"Chinese Football","track":"电动少女","album":"Here Comes a New Challenger!!!","trackNumber":1,"timestamp":1737697587,"mbid":"164c18f1-2c8f-48a1-9a40-6ccec763e297","context":"","streamId":0,"duration":310,"chosenByUser":0,"sk":""}}
{"level":"info","ts":"2025-01-24 13:49:04","caller":"scrobbler/track_check_playing.go:102","msg":"标记听歌完成","track":"电动少女"}
{"level":"info","ts":"2025-01-24 13:51:21","caller":"exec/exec.go:290","msg":"checkValidPath:The path [/Users/vincent/Documents/多媒体/音乐/CD/Chinese Football/Here Comes a New Challenger!!!/02 清醒白日梦.m4a] exists and [false] a directory"}
{"level":"info","ts":"2025-01-24 13:51:21","caller":"exec/exec.go:290","msg":"checkValidPath:The path [/Users/vincent/Documents/多媒体/音乐/CD/Chinese Football/Here Comes a New Challenger!!!/02 清醒白日梦.m4a] exists and [false] a directory"}
{"level":"info","ts":"2025-01-24 13:51:21","caller":"scrobbler/track_check_playing.go:127","msg":"NowPlayingTrackInfo","audirvanaTrackInfo":{"TrackID":"","Title":"清醒白日梦","Album":"Here Comes a New Challenger!!!","Artist":"Chinese Football","Duration":301,"Position":0.8213750123977661,"Url":"file:///Users/vincent/Documents/多媒体/音乐/CD/Chinese Football/Here Comes a New Challenger!!!/02 清醒白日梦.m4a","AirfoiLogo":""}}
{"level":"info","ts":"2025-01-24 13:51:21","caller":"scrobbler/lastfm.go:253","msg":"TrackUpdateNowPlaying","req":{"api_key":"","api_sig":"","sk":"","artist":"Chinese Football","albumArtist":"Chinese Football","track":"清醒白日梦","album":"Here Comes a New Challenger!!!","trackNumber":2,"mbid":"403cbccb-cf8b-4e35-b05b-f5a5567045fe","context":"","duration":301}}
{"level":"info","ts":"2025-01-24 13:54:06","caller":"scrobbler/lastfm.go:232","msg":"PushTrackScrobble:","req":{"api_key":"","api_sig":"","artist":"Chinese Football","albumArtist":"Chinese Football","track":"清醒白日梦","album":"Here Comes a New Challenger!!!","trackNumber":2,"timestamp":1737697881,"mbid":"403cbccb-cf8b-4e35-b05b-f5a5567045fe","context":"","streamId":0,"duration":301,"chosenByUser":0,"sk":""}}
{"level":"info","ts":"2025-01-24 13:54:07","caller":"scrobbler/track_check_playing.go:102","msg":"标记听歌完成","track":"清醒白日梦"}
^C
➜  ~ tail -f ~/Developer/code/other/audirvana-origin-scrobbler/logs/go_audirvana-origin-scrobbler.log
{"level":"info","ts":"2025-01-24 14:32:47","caller":"scrobbler/track_check_playing.go:50","msg":"60 秒检查","共计上传歌曲标记":25}
{"level":"info","ts":"2025-01-24 14:33:47","caller":"scrobbler/track_check_playing.go:50","msg":"60 秒检查","共计上传歌曲标记":25}
832 次点击
所在节点   macOS  macOS
1 条回复
a66243766
a66243766
27 天前


这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/1107601

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX