Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

post-download scripts #3

Open
tomsik68 opened this issue Feb 18, 2018 · 0 comments
Open

post-download scripts #3

tomsik68 opened this issue Feb 18, 2018 · 0 comments

Comments

@tomsik68
Copy link

Names of some video files don't have extension attached, which causes them not to be indexed by miniDLNA, so it's necessary to rename the downloaded file on a media center manually(e.g. via ssh). There is a way to work around this: attach an appropriate extension after download is done. For this, however, one would have to write a systemd unit that constantly scans the download folder or pings DAM's restful API to find out if there's a complete download.

Much better solution would be to run a script every time download finishes, but this is not currently supported by DAM. Post-download scripts are useful for tons of other things too, so I thought it would be good idea to add this as a feature request :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant