]> git.ipfire.org Git - thirdparty/tvheadend.git/commitdiff
DVR: add username to the subscription, fixes #5215, fixes #5263
authorJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2018 14:59:51 +0000 (16:59 +0200)
committerJaroslav Kysela <perex@perex.cz>
Tue, 16 Oct 2018 14:59:51 +0000 (16:59 +0200)
src/dvr/dvr_rec.c

index 03d54bdf5a396fcf82accee35c9bdc6380990edf..9b51aaa8dfd72be783caecf88b76e051f3ea9bf3 100644 (file)
@@ -155,7 +155,7 @@ dvr_rec_subscribe(dvr_entry_t *de)
 
   de->de_s = subscription_create_from_channel(prch, NULL, weight,
                                              buf, prch->prch_flags,
-                                             NULL, NULL, NULL, NULL);
+                                             NULL, aa->aa_username ?: "", NULL, NULL);
   if (de->de_s == NULL) {
     tvherror(LS_DVR, "unable to create new channel subcription for '%s' profile '%s'",
              channel_get_name(de->de_channel, channel_blank_name), profile_get_name(pro));