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

Support local media (subtitles, channel profile pic) #22

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Contents/Code/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def Start():

class YoutubeDLAgent(Agent.TV_Shows):
name, primary_provider, fallback_agent, contributes_to, languages, accepts_from = (
'Youtube-DL', True, False, None, [Locale.Language.English, ], None)
'Youtube-DL', True, None, None, [Locale.Language.English, ], ['com.plexapp.agents.localmedia'])

def search(self, results, media, lang, manual=False):
results.Append(MetadataSearchResult(
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Fork notice

This fork enables local media assets, such as `poster.jpg` for channel posters, and subtitles.

# Youtube-DL Agent
After about a year of using [ZeroQI's Youtube Agent](https://github.com/ZeroQI/YouTube-Agent.bundle) I noticed a problem. If a youtube video gets deleted, it is no longer possible to get the metadata. Which makes sense, however the entire goal of having Youtube videos on your Plex Media Server is to make sure they never get deleted.

Expand Down