Pigpog / vlc-discord-rpc

Discord rich presence for VLC media player.
MIT License
206 stars 31 forks source link

How can I just show the video file name instead of the extracted metadata info in status? #55

Closed eXil3d closed 3 years ago

eXil3d commented 3 years ago

I want to just show the video file name instead of show name and season number extracted from the metadata in my discord status. How can I do it by editing the format file?

Pigpog commented 3 years ago

Simply delete lines 26 - 60, so from the comment if video to the closing curly brace after output.state = status.state. Then change line 20 to say details: meta.filename, instead of having meta.title || meta.filename.

This will remove the second line of info altogether, and show the filename even when title metadata is available.

eXil3d commented 3 years ago

It worked!! Thanks a lot man for the quick response.

Pigpog commented 3 years ago

no problem, glad it worked