Skip to content

Latest commit

 

History

History
87 lines (58 loc) · 2.37 KB

README-EN.md

File metadata and controls

87 lines (58 loc) · 2.37 KB

Node_fb2kRichPresence

English README

Execution Result

image

Play on Youtube → The Youtube URL of the music you are listening to
View Channel Link → The Channel URL of the music you are listening to

Installation

Clone this repository

git clone https://github.com/shirafukayayoi/Node_fb2kRichPresence

Install the foobar2000 plugin

Download nowplaying2
After downloading, go to filePreferencesToolsNow Playing 2 settings, and set the Format to:

%title%$char(10)
%artist%$char(10)
%length%$char(10)
%fy_url%$char(10)
%fy_channel_url%$char(10)
%fy_thumbnail_url%$char(10)
%album%$char(10)
%play_count%$char(10)
%albumarturl%

Then, set the File path.

Download YoutubeSource
After downloading, go to filePreferencesToolsYoutube Source settings, and enter the Youtube API in Maintenance.
Japanese users can refer to the article note-foobar2000のすゝめ【フリーソフト/音楽プレイヤー】 written by the author.
After that, enjoy music from FileYoutubeSource.

Download Playback Statistics
By installing this, you can display the play count.

Install the packages

npm install

Modify index.js

Set the directory of the text file configured in Now Playing 2 in const nowPlayingFilePath.

If you want to create an executable file

You can use nexe to create an executable file.

nexe -i index.js -o Node_fb2kRichPresence.exe -t windows-x64-14.15.3

If you want to display while playing, download Vencord

Install Vencord-foobar.

Invoke-Expression (Invoke-WebRequest -Uri 'https://raw.githubusercontent.com/tunip3/Vencord-foobar/main/Install-RicherCider.ps1' -UseBasicParsing).Content

Run this in PowerShell.

Execute!

node index.js

Known Issues

  • Album art is not displayed on Discord for local files. image
  • If you start playing from the middle, the playback bar and time will be misaligned.

*This readme converts Japanese using ChatGPT.