List of languages entry in /catalog/v2/root.xml

Added a new entry in /catalog/v2/root.xml that points to a
not-yet-existing list of languages navigation feed.
This commit is contained in:
Veloman Yunkan
2021-06-10 11:56:51 +04:00
committed by Matthieu Gautier
parent 49322f5961
commit b2027b397c
3 changed files with 20 additions and 1 deletions

View File

@ -74,7 +74,8 @@ std::unique_ptr<Response> InternalServer::handle_catalog_v2_root(const RequestCo
{"endpoint_root", m_root + "/catalog/v2"},
{"feed_id", gen_uuid(m_library_id)},
{"all_entries_feed_id", gen_uuid(m_library_id + "/entries")},
{"category_list_feed_id", gen_uuid(m_library_id + "/categories")}
{"category_list_feed_id", gen_uuid(m_library_id + "/categories")},
{"language_list_feed_id", gen_uuid(m_library_id + "/languages")}
},
"application/atom+xml;profile=opds-catalog;kind=navigation"
);