mirror of
https://github.com/owntone/owntone-server.git
synced 2025-02-22 19:12:33 -05:00
Fix segfault in db_file_update
Fix wrong type (%Q instead of %d) for tv_episode_sort and tv_season_num in the SQL query for db_file_update().
This commit is contained in:
parent
a52dcd264c
commit
371725b0da
2
src/db.c
2
src/db.c
@ -1361,7 +1361,7 @@ db_file_update(struct media_file_info *mfi)
|
||||
" codectype = %Q, idx = %d, has_video = %d," \
|
||||
" bits_per_sample = %d, album_artist = %Q," \
|
||||
" media_kind = %d, tv_series_name = %Q, tv_episode_num_str = %Q," \
|
||||
" tv_network_name = %Q, tv_episode_sort = %Q, tv_season_num = %Q" \
|
||||
" tv_network_name = %Q, tv_episode_sort = %d, tv_season_num = %d" \
|
||||
" WHERE id = %d;"
|
||||
char *query;
|
||||
char *errmsg;
|
||||
|
Loading…
x
Reference in New Issue
Block a user