sqlite3.OperationalError: no such column: metadata_items.title
So it seems like my SQLite skills are a show stopper from within python.
The query does however runs okay in SQLite Manager, so scratching my head here....
Any takers?
/T
Here is a fix, even though the sql is oddly formatted.
SELECT mi.title, M.file, M.extra_data, M.hash FROM media_parts M INNER JOIN (media_items INNER JOIN metadata_items ON media_items.metadata_item_id = metadata_items.id) mi ON M.media_item_id = mi.id WHERE (((mi.library_section_id)=6))
sqlite3.OperationalError: no such column: metadata_items.title
So it seems like my SQLite skills are a show stopper from within python.
The query does however runs okay in SQLite Manager, so scratching my head here....
Any takers?
/T
Here is a fix, even though the sql is oddly formatted.
SELECT mi.title, M.file, M.extra_data, M.hash FROM media_parts M INNER JOIN (media_items INNER JOIN metadata_items ON media_items.metadata_item_id = metadata_items.id) mi ON M.media_item_id = mi.id WHERE (((mi.library_section_id)=6))
And yes, since been a newbie to both Python as well as SQLite, I can use all the help I can get here, so if you, or others, got some spare-time, then please fork away, and improve my pathetic code, cuz I kinda think this project is cool