Skip to content

Commit

Permalink
Merge pull request #17 from hjone72/patch-issue-11
Browse files Browse the repository at this point in the history
Fix for issue 11
  • Loading branch information
ajkis authored Apr 21, 2017
2 parents c532058 + 9718af0 commit 70cc1e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plex/plex-analyze.cli
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import sys
conn = sqlite3.connect('/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases/com.plexapp.plugins.library.db')

c = conn.cursor()
c.execute('select metadata_item_id from media_items where bitrate is null')
c.execute('Select media_items.metadata_item_id As id, metadata_items.title As title From media_items Inner Join metadata_items On media_items.metadata_item_id = metadata_items.id Where media_items.bitrate Is Null And Not metadata_items.metadata_type = "12"')
items = c.fetchall()
conn.close()

Expand Down

0 comments on commit 70cc1e8

Please sign in to comment.