mirror of
https://github.com/Radarr/Radarr
synced 2024-12-22 16:02:43 +00:00
Add single command to extract imdb ids from plex database
parent
d3f25099a1
commit
cf4528d3ac
1 changed files with 10 additions and 0 deletions
|
@ -24,6 +24,16 @@ You'll need to extract this somewhere to use with your DB IDE or open it straigh
|
||||||
### Using your Plex database
|
### Using your Plex database
|
||||||
The goal here is to obtain all of your IMDB IDs. These are stored as bulky strings in GUID metadata for all movies in the Plex database. An example: `com.plexapp.agents.imdb://tt0000000?lang=en`
|
The goal here is to obtain all of your IMDB IDs. These are stored as bulky strings in GUID metadata for all movies in the Plex database. An example: `com.plexapp.agents.imdb://tt0000000?lang=en`
|
||||||
|
|
||||||
|
#### Linux/OSX one-liner
|
||||||
|
|
||||||
|
Update the database location to suit
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sqlite3 com.plexapp.plugins.library.db "select guid from metadata_items where guid like 'com.plexapp.agents.imdb%';" | grep -P 'tt\d+' -o > movies.txt
|
||||||
|
```
|
||||||
|
|
||||||
|
#### Or: Step by step
|
||||||
|
|
||||||
The query I used to get all of my movies:
|
The query I used to get all of my movies:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue