Put the name of the episode instead of the URL for the RPC #5

Open
opened 2024-05-19 19:54:40 +02:00 by pekatour · 3 comments
pekatour commented 2024-05-19 19:54:40 +02:00 (Migrated from github.com)

Let me explain :
I use ani-cli to view anime. It fetches the episodes from URLs and feeds them in mpv.
With this extension enabled, it displays the URL as the video you're viewing which isn't really revealing what you're actually viewing.
I noticed the name of the tab has the correct name of the episode.
Idk if it'd be possible to have that instead of the URL ^^

Let me explain : I use ani-cli to view anime. It fetches the episodes from URLs and feeds them in mpv. With this extension enabled, it displays the URL as the video you're viewing which isn't really revealing what you're actually viewing. I noticed the name of the tab has the correct name of the episode. Idk if it'd be possible to have that instead of the URL ^^
ryze312 commented 2024-05-19 20:33:38 +02:00 (Migrated from github.com)

Could you provide the snippet of what tags ani-cli source provides to mpv?

I'm planning to rewrite the plugin soon and make it more extensible and configurable as much as possible, but it might take some time with my schedule.

Could you provide the snippet of what tags ani-cli source provides to mpv? I'm planning to rewrite the plugin soon and make it more extensible and configurable as much as possible, but it might take some time with my schedule.
CoolnsX commented 2024-05-19 21:13:35 +02:00 (Migrated from github.com)

@ryze312
3d3435ed2f/ani-cli (L268) ~ for mpv on desktop
3d3435ed2f/ani-cli (L271) ~ for mpv on android

@ryze312 https://github.com/pystardust/ani-cli/blob/3d3435ed2fef756144dad0a39856392703f2ed79/ani-cli#L268 ~ for mpv on desktop https://github.com/pystardust/ani-cli/blob/3d3435ed2fef756144dad0a39856392703f2ed79/ani-cli#L271 ~ for mpv on android
ryze312 commented 2024-05-20 21:45:57 +02:00 (Migrated from github.com)

So this just sets media-title, I could extract episode number and title from there, not sure about season and other information. I suppose I can pull that from some online database.

So this just sets `media-title`, I could extract episode number and title from there, not sure about season and other information. I suppose I can pull that from some online database.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: ryze/mpv-rpc#5
No description provided.