Small changes
This commit is contained in:
parent
18fd611c91
commit
a8d9781821
4 changed files with 15201 additions and 3 deletions
|
|
@ -973,7 +973,7 @@ PlaylistModule.prototype._addItem = function (media, data, user, cb) {
|
|||
}
|
||||
}
|
||||
|
||||
if (media.meta.rating) {
|
||||
if (media.meta.ytRating === "ytAgeRestricted") {
|
||||
return qfail("Cannot add age restricted videos. See: https://github.com/calzoneman/sync/wiki/Frequently-Asked-Questions#why-dont-age-restricted-youtube-videos-work");
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue