2008-07-10, 17:30
Of course, it would help if I spellchecked my comment before posting it. Same patch with mythbackend spelled correctly
Code:
Index: xbmc/lib/libcmyth/proginfo.c
===================================================================
--- xbmc/lib/libcmyth/proginfo.c (revision 14003)
+++ xbmc/lib/libcmyth/proginfo.c (working copy)
@@ -1659,7 +1659,12 @@
return NULL;
}
- if(control->conn_version >= 32) {
+ /*
+ * mythbackend doesn't support spaces in basenames
+ * when doing QUERY_RECORDING. If there are spaces, fallback
+ * to enumerating all recordings
+ */
+ if(control->conn_version >= 32 && strchr(basename, ' ') == NULL) {
pthread_mutex_lock(&mutex);
snprintf(msg, sizeof(msg), "QUERY_RECORDING BASENAME %s",