forkwhilefork / plexChromeExt

a Chrome extension to assist in downloading media from Plex servers
3 stars 1 forks source link

replace file.mkv with name of what is being downloaded #1

Closed Hemps38 closed 1 year ago

Hemps38 commented 1 year ago

Is there anyway to replace default file.mkv with name of the show and / or episode?

forkwhilefork commented 1 year ago

Hey I think I answered this elsewhere, but for posterity, the file name is chosen by the downloading client. Plex will send the actual name of the file in the "Content Disposition" header. I usually use wget to download files from the URLs produced by this extension, and I use the --content-disposition switch to make it set the downloaded filename to the original filename. Hope that helps!