Add support for iTunes purchases
This commit is contained in:
parent
1b2c568ac6
commit
da5daeeffb
9 changed files with 140 additions and 15 deletions
|
@ -38,8 +38,12 @@ router.get('/:service/:type/:id', function(req, res) {
|
|||
|
||||
items.sort(function(a, b) {
|
||||
return !a.id || !b.id;
|
||||
}).sort(function(a, b) {
|
||||
return !a.streamUrl || b.streamUrl;
|
||||
})
|
||||
|
||||
|
||||
|
||||
items.unshift(item);
|
||||
|
||||
res.render(type, {items: items});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue