You, sir, are amazing!!! One question. As I use youtube-dl to download my youtube videos, it appends the video id as the last 11 characters in the file name (before the extension). What expression do I need to put in this plugin to get it to pick up on that?
Well, apparently python isn’t a very hard language. I’m no programmer, but I found my own answer. If you use youtube-dl (the open source script on github for pathetically easy downloads) with the title tag, this string will read the last 11 characters of the file name and grab the metadata:
(?P<id>.{11})....$
Now, my next question, which I know many of you are in the same boat, how can we keep our folder organization AND use this plugin? I have everything perfectly organized into folders, but I have to select "home video’s as the media type to keep them all in their folders, unaltered.
I’ll give a year’s free web hosting to the person who can help me make it work like that. Everything stays in folders, AND be able to use this plugin to scrap descriptions from youtube.
Is it possible for this agent to be added for “TV Show” library support as well? I want to be able to sort my downloaded playlists by episode number, but the problem is that when the downloads are pulled into a plex “Movie” library they are sorted by title. Many thanks for your consideration.
This agent is meant to collect metadata from the web for videos from the web. I just checked and it works with the “Other Videos” type library as well.
This agent is meant to collect metadata from the web for videos from the web. I just checked and it works with the “Other Videos” type library as well.
how do i edit the naming patter so it stops looking for brackets? for example, my naming scheme is like this LEVEL 1 _ LET’S PLAY DOCTOR-0-fyoq4454U.mp4. where 0-fyoq4454U is the ID
unfortunately not, i add that, and after, i hit refresh all, and all it did was add random screenshots from the video as the poster, no metadata or anything useful
How hard would it be to have this or similar agent for TV shows.
First let me say this is an awesome addition, and it is works so well I have added lots of YouTube videos.
The resultant flat unorganized library is unwieldy. At least if I could organize by uploader = show and each video was an episode it would be so much easier to use.
I have not found the documentation on how to develop an agent, I wonder if I could hack this one a bit and convert it or would it need to be a rewrite?
The latest version of the agent has an option to add the uploader as director. That way you are able to use the filters (although I do not know what Plex clients do or do not have this filter option):
Yes, thank you, I do use that feature and providing this agent is greatly appreciated, but it seems TV Series could be much more functional for some types of programming.
The way it is now, I need to constantly switch through all the directors to browse programs and there is no count of unwatched listed by director. Adding director was a great improvement. I am asking how difficult would it be to modify and create another version of the agent that could work in TV Series.
Of course if there were a TV Series YouTube agent I am sure there would be many ways others would come up with for suggestions for how it could be configured and improved over time beyond listing Series by uploader, that is just my suggestion for a quick start that would be similar to how the current movie agent works.
I am currently hacking through the code to see if I can figure it out. Unless there is something I am missing it seems the code is fairly straight forward and everything is in one file. Not that it would necessarily help, for some reason I am not being successful in finding documentation on the agent API (I am sure it is easy to find somewhere)
@mike@serenity-networks.com said:
Well, apparently python isn’t a very hard language. I’m no programmer, but I found my own answer. If you use youtube-dl (the open source script on github for pathetically easy downloads) with the title tag, this string will read the last 11 characters of the file name and grab the metadata:
(?P<id>.{11})....$
Now, my next question, which I know many of you are in the same boat, how can we keep our folder organization AND use this plugin? I have everything perfectly organized into folders, but I have to select "home video’s as the media type to keep them all in their folders, unaltered.
I’ll give a year’s free web hosting to the person who can help me make it work like that. Everything stays in folders, AND be able to use this plugin to scrap descriptions from youtube.
Thanks
Mike, I’m just starting on the path for doing this in my setup at home… so while I may not have a total answer, it might point you in the right direction. I’m using a utility called DropIt (http://www.dropitproject.com/), that will watch folders, and based on filters you give it either by file type, or details in the file name, it will automatically move them to different locations. I’m thinking this could be something useful for what you’re looking to do. I’ve been using the utility on my laptop to organize my internet downloads & it’s a dream. Anyhow, I hope this helps!
I’m thinking this agent quit working again. I have my ID in square brackets on all of my downloaded videos and I’ve got nothing to show for it. Also, using the YouTube agent changes the video type from any other type to “Movies”
@blueeyiz702 said:
This is what i came up with when finished with YouTube Metadata Agent,and my artwork resized.
Looks good to me! The poster image is what is retrieved from YouTube. This agent does not retrieve artwork, so the image at the top is just a screenshot from the video. The size of that image depends on the size of your browser windows, this is not something this (or any) agent can change.