Skip to content

Commit

Permalink
Fix for issue 11
Browse files Browse the repository at this point in the history
Fix for ajkis#11
  • Loading branch information
hjone72 authored and hjone72 committed Apr 20, 2017
1 parent c532058 commit 9718af0
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 9718af0

Please sign in to comment.