Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Commit

Permalink
Updated AngularJS, fixed a typo
Browse files Browse the repository at this point in the history
  • Loading branch information
greebowarrior committed Aug 20, 2017
1 parent 342e4e7 commit 34e0362
Show file tree
Hide file tree
Showing 7 changed files with 20 additions and 33 deletions.
6 changes: 5 additions & 1 deletion app/manifest.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
{
"name": "NodeTV",
"description": "Media library Manager"
"short_name": "NodeTV",
"description": "Media library Manager",

"display": "minimal-ui",
"theme_color": "#101010"
}
13 changes: 7 additions & 6 deletions app/views/layouts/classic.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
<meta name="mobile-web-app-capable" content="yes" />
<meta name="format-detection" content="telephone=no" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui" />
<meta name="theme-color" content="#101010" />

<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous" />
<link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" />
Expand Down Expand Up @@ -39,12 +40,12 @@
</footer>

<script src="//code.jquery.com/jquery-3.2.1.min.js" integrity="sha256-hwg4gsxgFZhOsEEamdOYGBf13FyQuiTwlAQgxVSNgt4=" crossorigin="anonymous"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular-animate.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular-cookies.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular-messages.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular-resource.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.4/angular-touch.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.5/angular.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.5/angular-animate.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.5/angular-cookies.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.5/angular-messages.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.5/angular-resource.min.js"></script>
<script src="//ajax.googleapis.com/ajax/libs/angularjs/1.6.5/angular-touch.min.js"></script>

<script src="//cdnjs.cloudflare.com/ajax/libs/socket.io/2.0.3/socket.io.slim.js"></script>
<script src="//cdnjs.cloudflare.com/ajax/libs/sweetalert/1.1.3/sweetalert.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion app/views/show/settings.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</div>
<div class="col-md-4">
<div class="form-group">
<label>Prefered Quality</label>
<label>Preferred Quality</label>
<select class="form-control" ng-model="$ctrl.show.config.quality" ng-options="option for option in $ctrl.qualities"></select>
</div>
</div>
Expand Down
24 changes: 0 additions & 24 deletions config.codekit3
Original file line number Diff line number Diff line change
Expand Up @@ -339,18 +339,6 @@
"oAP": "\/app\/views\/components\/alerts.html",
"oF": 0
},
"\/app\/views\/components\/artwork.html": {
"ft": 8192,
"oA": 2,
"oAP": "\/app\/views\/components\/artwork.html",
"oF": 0
},
"\/app\/views\/components\/banner.html": {
"ft": 8192,
"oA": 2,
"oAP": "\/app\/views\/components\/banner.html",
"oF": 0
},
"\/app\/views\/components\/breadcrumbs.html": {
"ft": 8192,
"oA": 2,
Expand All @@ -375,12 +363,6 @@
"oAP": "\/app\/views\/components\/navigation.html",
"oF": 0
},
"\/app\/views\/components\/poster.html": {
"ft": 8192,
"oA": 2,
"oAP": "\/app\/views\/components\/poster.html",
"oF": 0
},
"\/app\/views\/components\/search.html": {
"ft": 8192,
"oA": 2,
Expand All @@ -405,12 +387,6 @@
"oAP": "\/app\/views\/layouts\/classic.html",
"oF": 1
},
"\/app\/views\/layouts\/modern.html": {
"ft": 8192,
"oA": 2,
"oAP": "\/app\/views\/layouts\/modern.html",
"oF": 0
},
"\/app\/views\/movie\/movie.html": {
"ft": 8192,
"oA": 2,
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"passport-trakt": "^1.0.4",
"request": "^2.81.0",
"request-promise": "^4.2.1",
"rss-parser": "^2.10.1",
"rss-parser": "^2.10.2",
"sharp": "^0.18.2",
"socket.io": "^2.0.3",
"syserrno": "^1.0.1",
Expand Down
5 changes: 5 additions & 0 deletions server/local_modules/nodetv-helpers/lib/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,13 @@ exports.isHD = (filename)=>{
exports.isRepack = (filename)=>{
return filename.match(/final|proper|repack|rerip/i) ? true : false
}
exports.isProper = (filename)=>{
return filename.match(/proper/i) ? true : false
}

exports.getInfoHash = (item)=>{
// tv:info_hash namespace?

if (item.link.match(/btih\:([\w]{32,40})/i)){
// ShowRSS
let match = item.link.match(/btih\:([\w]{32,40})/i)
Expand Down
1 change: 1 addition & 0 deletions server/models/schema/show.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ showSchema.methods.parseFeed = function(){
linked: result.episodes,
quality: helpers.utils.getQuality(entry.title),
repack: helpers.utils.isRepack(entry.title),
proper: helpers.utils.isProper(entry.title),
added: new Date(entry.pubDate)
})
})
Expand Down

0 comments on commit 34e0362

Please sign in to comment.