mirror of
https://github.com/jellyfin/jellyfin-kodi.git
synced 2025-11-10 18:36:33 +00:00
database. The database is configured such that each person name within the table has to be unique. Attempting to add a person which already exists causes an IntegrityError exception to be thrown. This is a less costly operation than the cursor.execute and cursor.fetch operations. Increase performance by reverting to the expensive calls of fetching if adding a person fails. This pattern could also be applied to other tables within the database. |
||
|---|---|---|
| .. | ||
| database | ||
| dialogs | ||
| entrypoint | ||
| helper | ||
| jellyfin | ||
| objects | ||
| __init__.py | ||
| client.py | ||
| connect.py | ||
| downloader.py | ||
| full_sync.py | ||
| library.py | ||
| monitor.py | ||
| player.py | ||
| setup.py | ||
| views.py | ||
| webservice.py | ||