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

[Feature Request] 加入文件下载完成后emby自动扫描媒体库的功能 #564

Open
991547436 opened this issue Oct 10, 2023 · 6 comments · May be fixed by #571
Open

[Feature Request] 加入文件下载完成后emby自动扫描媒体库的功能 #564

991547436 opened this issue Oct 10, 2023 · 6 comments · May be fixed by #571
Labels
feature request Want some new function in roadmap

Comments

@991547436
Copy link

功能改进

背景:
emby使用smb挂载的文件夹作为媒体库不会自动识别新加入的媒体文件,当ab下载文件后需要手动点击更新媒体库

目的:
希望ab下载并重命名完成文件后自动调用api进行媒体库的更新

刷新媒体库api可见:
https://dev.emby.media/reference/RestAPI/ItemRefreshService/postItemsByIdRefresh.html
QQ截图20231010223513

@991547436 991547436 added the feature request Want some new function label Oct 10, 2023
@EstrellaXD
Copy link
Owner

这个需要鉴权吧,没用过 Emby 是否有提供 Webhook 之类的。

@991547436
Copy link
Author

991547436 commented Oct 10, 2023

这个需要鉴权吧,没用过 Emby 是否有提供 Webhook 之类的。

emby的web后台可以创建accesskey,post这个地址可实现刷新http://127.0.0.1:8096//emby/Items/{Id}/Refresh?api_key={accessKey}
其中Id为指定的媒体库id,用户手动填写即可,jellyfin和plex使用了linux的smb应该都有不会自动刷新的问题

QQ截图20231010230933

@Icarus-H
Copy link

emby有个实时扫描功能

@ashun-kaede
Copy link

emby 的 個別媒體庫設定裡面開啟「啟用即時監控」,只要資料夾有檔案更新就會觸發媒體庫掃描

@gustaavv
Copy link

jellyfin 也有类似的 api:/Items/{itemId}/Refresh。获取 apiKey 的方式和 emby 一样。

需要提一个新的 feature request 吗?

@gustaavv
Copy link

“自动识别新加入的媒体文件”这个功能取决于文件系统是否支持文件变更事件处理,比如 jellyfin 使用 inotify API。理论上 jellyfin、plex 和 emby 都会有这种情况发生。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Want some new function in roadmap
Projects
Status: [v3.2] In progress
Development

Successfully merging a pull request may close this issue.

5 participants