Quantcast
Channel: Scanners - Plex Forums
Viewing all 63 articles
Browse latest View live

Plex Music Scanner - Unknown Album Fix?

$
0
0

Plex Music Scanner is set to expect to find song titles in albums. This is fine if you have the whole album, the album info etc. But not good for singles. also having full albums is now the exception to the way people consume music in these days.

 

And so I found I was getting a lot of [Unknown Album] tags.

 

So I edited the Plex Music Scanner.py

 

So that lines 41 & 42 are:

 

if album == None or len(album.strip()) == 0:
        album = title

 

So that is no album info is found then it uses the title instead of adding [Unknown Album].

 

This has the advantage that the Lastfm agent then also will feed either album art or single art work instead of getting the Unknown Album art work.

 

HOWEVER I found the the PLEX server will note that the scanner has been changed and 'fix' it back to it original code!


How to get PLEX to recognize shows with apostrophe in the title?

$
0
0

Hi, it looks like Plex is unable to recognize shows that have an apostrophe in the title. i.e Childhood's End

I believe Plex is the issue since the show is listed in TheTVdb as "Childhood's end", but you need to name the folder Childhoods.End since an apostrophe is an illegal character.

Is there a way to manually fix this or request an update to the scanner to search additional wildcards with titles that have s at the end of a word? :)

not finding x-files season 10

$
0
0

files named The.X-Files.S10E01.HDTV.x264-KILLERS[ettv].mp4 and the scanner are not finding it.

"Home Videos" Library - Custom Scanner Question

$
0
0

I have a "Home Videos" Library that I'm using for my collection of music videos.

The Scanner is currently set to the "Plex Video Files Scanner" and the Agent to "Personal Media".

Videos appear in my library without any problem, with the filename of the video appearing in both the "Title" and the "Sort Title" fields.

I am following my own naming scheme for music video files:

Sequence Number -- Artist Name -- Clip Title -- Show Name -- Year.ext

i.e.

01 -- ACDC -- It's A Long Way To The Top -- Bandstand, Nine Network, Australia -- 1976.mpeg

The "Home Videos" library uses the field structure of the "Movies" library type.

While music videos are not movies, the metadata fields available are adaptable enough to my purposes. It would be great to have the Year show up in the "Originally Available" field for starters.

I'd be quite happy to see the "Show Name" appear on its own in what is internally labelled the "Tagline" field.

And given that there are three different title fields, why not make use of them all?

"Title" would omit the leading sequence digits and just have "Artist Name -- Clip Title"

"Sort Title" would include the leading sequence digits "01 -- Artist Name -- Clip Title"

"Original Title" would contain the complete filename.

Given the consistent order and double-hyphen delimiters in my filenames, I wouldn't think that parsing out the individual word groups and mapping them to the library fields would be too difficult.

But I'm not a good enough coder to tackle it myself. So I guess I have two questions:

Is there a Scanner out there that does something similar to this already? And/or is there someone willing to lend me a hand in writing one if there isn't?

When ever is Plex going to use the ID_TAG in music files?

$
0
0

well?
When Plex is the ONLY media-whatever-app who completely disregards the ID tag, its sure isnt fun trying to add music to a Media server!
One tiny ex. I got a 3-TREE albums of an artis. Plex by some weird and stupid reason makes it into 7-SEVEN! albums.
etc etc etc.

Not matching shannara chronicles+better call saul

$
0
0

Hey all,
Ive been having some issues with the following tv shows:
The Shannara Chronicles
Better call saul (only season 2, 1 was fine)
sometimes The flash

Shannara never matches until I do it manually and then it finds it directly and it works but how come it doesnt do this correctly from the start ?
Filename is :
The.Shannara.Chronicles.S01E09.INTERNAL.720p.HDTV.x264-KILLERS.mkv
any ideas?

simple mp4's are not loading

$
0
0

wow. and they're offering premium? no way i'm going to pay one penny if a simple thing like adding some mp4's to a library is not straightforward.

think i'm switching to xbmc

not recognizing correctly renamed movies

$
0
0

Hello :)

I have my media collection since a few years, and now i wanted to use it with plex.
Luckily i somehow followed the Media Preparation Guide (and especially the Naming Movie File - part).
But i'm having an issue with my Bluray Rips, Plex can't find the infos about the files :

Here's how my media-files are ordered :
media / films / english / bluray / name of film (date of release)
And in the folder "name of film (date of release)" are the subtitles + video file.

Let's say :
bluray\Apocalypse Now (1979) / Apocalypse Now (1979).mkv
bluray\Apocalypse Now (1979) / Apocalypse Now.eng.srt

Plex doesn't seem to recognize the movie "Apocalypse Now" (and all the others), even though the informations are all correct...
But for the rest of my files for which i don't have subfolders for every movie, i don't have this issue.
Is there a way to solve that?

I would like to avoid having a long list of all my movies and of the subs next to each other (it's not very clean).

Thanks in advance,

Aloys

PS : For easier understanding, here a screenshot of my file organisation :
(As you can see the thumbnail is not correct...)


List all music not added

$
0
0

Hey folks,

I'm sure there's some music that is in my library path but Plex didn't add, possibly because it couldn't find the artist on Last.fm or something. Any way I can list all music that was not added?

Thanks much,
Chris

Rerunning a scanner

$
0
0

If I run into a bug with my custom scanner and I fix the bug, how can I have the scanner rerun without deleting the library?

Formula1 scanner

$
0
0
<p><strong>Background:</strong></p> <p> </p> <p>The way that Formula1 boadcasts is organized doesn't fit very well with ether Movies or TV Series. Adding them as home movies is one unsatisfactory option, but instead I tried to make a Formula1 Media Scanner.</p> <p> </p> <p>It is working for my purpose, and I take no responsibility should it cause you any harm, but you are free to reuse and modify it.</p> <div> </div> <p><strong>How it works:</strong></p> <p> </p> <p>I typically have all my Formula1 media in one folder, and one broadcast can be named i.e. formula1.2014.spain.grand.prix.qualifying.uncut.720p.hdtv.x264.mkv. The Formula1 Media Scanner picks up the various parts of the file name using this regular expression:</p> <p>'(?P<show>.*?)[\._ ](?P<season>[0-9]{4})[\._ ](?P<location>.*?)[\.](?P<ep>.*?)\.(720p|HDTV|x254|1080p)'</p> <p> </p> <p>In the above example it will find the following match:</p> <p>MATCH 1</p> <p><span style="color:rgb(18,79,70);background-color:rgb(198,233,157);">show</span> [1-9] `formula1`</p> <p><span style="color:rgb(126,37,30);background-color:rgb(245,171,165);">season</span> [10-14] `2014`</p> <p><span style="color:rgb(129,74,3);background-color:rgb(255,191,109);">location</span> [15-20] `spain`</p> <p><span style="color:rgb(67,86,141);background-color:rgb(193,203,235);">ep</span> [21-48] `grand.prix.qualifying.uncut`</p> <p><span style="color:rgb(13,110,43);background-color:rgb(215,253,227);">5.</span> [49-53] `720p`</p> <p> </p> <p> </p> <div>The challenge here is to map this into a TV Series format. Basically a Formula1 episode is really a full weekend, containing many broadcasts, from buildup, FP1-3, Qualifying, race and others. However, one episode may only contain one media (disregarding stacking, as that is really sub optimal here).</div> <div>What I did instead was to assume that this library will only contain Formula1, and I named the show like Formula1 yyyy. So for the example above, the show would resolv to Formula1 2014.</div> <div>A series is then mapped to a location, but since series unfortunately only supports integer, I made a look up table to resolve location to Season number (This will have to be updated for years to come, only 2014 added).</div> <div>Under a given season (location) I add all the media pertaining to this location (weekend) as episodes.</div> <div>If it encounters a locations it doesn't recognize, it will still add the episode, but under season 99 (unknown)</div> <div> </div> <div><strong>Thinking out loud</strong></div> <div>Ideally I could add a show as Formula1, add seasons by year, add Episodes as location. Opening one Episode allows you to play any file from that weekend, but I don't see how that can be done.</div> <div>This scanner should work well for others (motor)sports that are organized in a similar way, you have to update locations though.</div> <div>The locations could be added dynamically, but I have added them manually so I get the "Seasons" in the correct order of the calender.</div> <p> </p> <p> </p> <p><strong>Install and use:</strong></p> <p> </p> <p>copy the attached file to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners/Series/</p> <p>restart plexmediaserver</p> <p>Add a new library called Formula1 and add the folder containing F1 broadcasts</p> <p>Select Advanced and Scanner: Formula1</p> <p> </p> <p><strong>Bugs:</strong></p> <p>You have to re-add the library when you get new files, because it adds a new show with the same name for the new files, why?</p> <p>The way it increments the episode numbers might be lost from scan to scan? Have not verified due to the bug above.</p> <p> </p> <p>If you have suggestions how to fix the bugs, please let me know.</p> <p> </p> <p><strong>GitHub:</strong></p> <p><a data-ipb='nomediaparse' href='https://github.com/kennethx/PlexF1MediaScanner'>https://github.com/kennethx/PlexF1MediaScanner</a></p&gt;

Correctly matching multiple episodes aired on the same date

$
0
0

Hi

I've updated a scanner which was written for Enigma2 (linux satellite box) files to work with files recorded with DVBLink. The files are in the following format;

Emmerdale-1900_20160324-4-10030000-1458846000.ts

ShowName-AirTime-AirDate-ChannelNo-NotUsed-Notused.ts

This works fine apart from where there are two episodes aired on the same date (at different times) such as;

Emmerdale-2000_20160324-4-10030000-1458849600.ts

As you can see, this is two episodes of the programme "Emmerdale", one aired at 7pm and one at 8pm. Unfortunately, Plex is only passing the air date to TheTVDB (and if my understanding of the API is correct, there isn't a way to identify multiple episodes on the same day) but I'm hoping to be proved wrong.

This is my code snippet - hopefully somebody will know either what the fix is or tell me this is not possible;

  if (file.endswith(".ts")):

    # Remove path and extension
    tsfile = os.path.basename(file)
    tsfile = os.path.splitext(tsfile)[0]

    # DVBLink files are named as follows - Programme_Name,Time_Date,ChannelNo,JunkData,MoreJunkData
    (programme,time_date,channel,junk,morejunk) = tsfile.split('-',6)
    (time,date) = time_date.split('_')

    year = int(date[0:4])
    month = int(date[4:6])
    day = int(date[6:8])
    hour = int(time[0:2])
    minute = int(time[2:4])
    d = datetime.datetime(year, month, day, hour, minute)
    t = d.timetuple()

    show = programme.replace('_',' ')
    season = year
    #episode = (hour,minute)
    #title = channel+" - "+date[6:8]+"/"+date[4:6]+"/"+date[0:4]+" "+time[0:2]+":"+time[2:4]
    title = show

    print "adding tv show", (show), "season", (season),"title", (title), "year", (year)
    tv_show = Media.Episode(show,season,title,year)
    tv_show.released_at = "%4d-%02d-%02d %02d:%02d" % (year, month, day, hour, minute)
    tv_show.parts.append(file)
    mediaList.append(tv_show)

[REL] Extended Personal Media Scanner

$
0
0

This scanner is meant to be used with the Extended Media Metadata Agent found here. See the documentation on the metadata agent plugin to see how files should be organized within your personal media sections.

This scanner is not meant to be full replacement of the Plex Media Scanner. Requests for functionality will be considered but may be limited by what Plex currently allows in the TV Show sections.

Differences between this scanner and Plex Media Scanner

This scanner differentiates itself from the Plex Media Scanner by:

  • Uniquely assigns an episode number to date-based personal media. This allows for multiple shows on the same date. This is particularly useful for home movies, organizing sports videos, etc.
  • This scanner does not read tag data from MP4 files or other types of media. This may be added in a future release if there is enough demand for it.

Known Issues

Issue:

Renaming shows that have already been processed sometimes causes Plex to create a new TV show within Plex.

How to fix:

  1. Remove the files that were created in the new TV show from the original directory.
  2. In Plex, scan the section so that Plex detects that the files have been removed.
  3. Re-add the files back to the original directory.
  4. In Plex, scan the section so that Plex detects the files and adds them back to the original TV Show.

Download and source

Download: https://bitbucket.org/mjarends/plex-scanners/get/master.zip

Source: https://bitbucket.org/mjarends/plex-scanners/src

Installation

  • Unzip the downloaded ZIP file, this gives you a file/folder with the name plex-scanners-XXXXXXXX. Rename the folder to plex-scanners.
  •  
    • Mac
      • Copy the Series folder from the plex-scanners folder created above to ~/Library/Application Support/Plex Media Server/Scanners folder. The easiest way to find this folder is to use the Go to folder... option in the Go menu of the Finder.
        48377923png
        ~ is your home folder. If you can't find your Library folder, have a look at OS X Lion: Where did my Library go?
    • Windows
      • Copy the Series folder from the plex-scanners folder created above to the Plex Media Server Scanners directory. To get to the Scanners directory right-click the Plex Media Server icon in the system tray and open the Plug-ins folder. In Windows Explorer go up a directory and then select the Scanners directory.
      • screenshot20121221at161jpg
    • Linux (Ubuntu)
      • Copy the Series folder from the plex-scanners folder created above to /var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Scanners
  • Restart Plex Media Server (this is optional)
    On Mac and Windows: just quit and start again
    On Linux (Ubuntu): sudo service plexmediaserver restart
  • In Plex/Web (the media manager), create a new "TV Shows" section and select Extended Personal Media Scanner from the Scanner dropdown menu (under Advanced Options).

Change Log:

4/4/2015: Moved the creation of the scanners to within the Scan method

1/6/2015: Added support for two digit episode index numbers in date-based episodes (ex: \Show Title - s2012e09 - 2015-12-31_25 - Episode Title.mp4. (NOTE: Updating the plug-in and rescanning your library will result in new episode numbers being created)

Tennis Scanner

$
0
0

Hi, 

i have a lot of Tennis matches and would like them to be indexed in Plex

What I have is:

Tennis
   Australian Open
       2014
            Wawrinka-Djokovic-Final.ts
       2013
   Wimbledon
       2014
       2013


Can this be possible?
I tried various scanners but none of them did what  I need.

Thanks and regards

André

Can Plex use TV.com as an agent for indexing TV shows?

$
0
0

So, I have some episodes that are correctly named via the theRenamer via tv.com. However, Plex tries to match against theTVDB. Is there anyway to add TV.com as an agent that Plex will use? Then it would name my episodes correctly.

If not, how can I tell Plex to just use the name I have named them? It doesn't have an episode recap anyway so none of the detailed information is filled in. Thanks for any help.


Como instalar ASS, Hama para animês?

$
0
0

Não entendi nada que encontrei sobre a instalação destes, peço por favor a ajuda de vocês, pois não sei instalar nenhum plugin. Valeu galera!

Where is the howto write a scanner document?

$
0
0

I need to know api type things.

I need to know what stacking is.

Top Gear specials

$
0
0

Hi, how to name the specials for top gear, i got several files with name and year in a separate folder called featers. I got al the the seasons in separated folders with files named correctly with e.x: TopGear S14E01.mkv and so on

How to get the specials in the correct season, some seasons content several spesials episodes. Any body that can help me with naming them correctly?

Best regards
Stein Idar Aasen
Norway****

Tvshow/
Top Gear/
Featers/

50yearsofbondcars(2012.mkv
Goodthebadtheugly(2006).mkv
Greatestmoviechases(2007).mkv
Heavenandhell(2005).mkv
Hotmetal(2004).mkv
Italianjob(2010).mkv
Supercarshowdown(2007)
Worstcarinthehistiryoftheworld(2012).mkv
Poweresup(2011).mkv
Thriller(2008).mkv
Apocalypse(2010).mkv
Atthemovie(2011).mkv
Season 1/
-- * --
Season 22/

Use the IMDB ID in the filename to match Movies and Series !?

$
0
0

Hello,

 

I previusly used XBMC and/or Project Valerie for my media needs.

Everything was running just nice and I am quite happy with it.

 

So now. I just "found" PLEX a few days ago and was quite amazed what I could do with my Media collection, when I have a Plex server running on my ReadyNAS.

 

So I installed PMS on my NAS, rebootet and added some sections.

 

Problem is. The scanners are not recognizing my Media files ! :-(

 

I have the following sheme: Title (imdbid) - xy.xxx

or where xy can be "HD","SD" or "3D".

 

So with every media center I used until now this was working just fine.

I really prefer it, because it is for sure the most "on spot" recognision.

 

So when I let PMS run.......it didn't find ANY match!

When I manually "remove" the IMDBID and the "format" it gets recognized just fine.

 

Could you please modify the scanner to first look for an IMDBID, and if there is none in the name, then try using the "usual" search habit ?

 

Or am I doing something wrong?

It would be so easy for the scanner, because it doesn't have to look for the IMDBIB in the meda service providers....because its already there!

 

Hope you guys understand what I tried to explain and agree that it would be a usefull feature!

 

Thanks a lot!

 

Regards

 

Hossa

 

Photo Scanner inop

$
0
0

the photo scanner in the 5089475 on centos 7 isn't finding any photos (jpg), in the scanner log it shows as scanning the files and then says no changes

"May 11, 2016 18:41:24 [0x7f5489bef840] DEBUG - Skipping over directory '', as nothing has changed; removing 0 media items from map.
May 11, 2016 18:41:24 [0x7f5489bef840] DEBUG - Removing 0 media items that were left.
May 11, 2016 18:41:24 [0x7f5489bef840] DEBUG - Removing 0 directories that were left.
May 11, 2016 18:41:24 [0x7f5489bef840] DEBUG - Refreshing section 19 of type: 13
"

Viewing all 63 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>