This repository was archived by the owner on Jul 6, 2020. It is now read-only.
File tree Expand file tree Collapse file tree 12 files changed +49
-31
lines changed
Expand file tree Collapse file tree 12 files changed +49
-31
lines changed Original file line number Diff line number Diff line change @@ -150,8 +150,8 @@ search box that will perform various things.
150150Here is a list (there will be additional ones added soon):
151151
152152- ` [name hint] ` : Lists locally saved videos based on the [ name hint]
153- - ` yt: [search term]` : Searches YouTube for the [ search term]
154- - ` g: [group name]` : Lists the videos for the [ group name]
153+ - ` /yt [search term]` : Searches YouTube for the [ search term]
154+ - ` /g [group name]` : Lists the videos for the [ group name]
155155- ` /list ` : List all videos contained in the database
156156- ` /history ` : Lists the recently played videos
157157- ` /rp ` or ` /recently-played ` : List last 30 recently played videos
@@ -217,7 +217,7 @@ Recently Played {
217217## Author(s)
218218
219219Frank Hale < ; frankhale@gmail.com > ;
220- 22 May 2016
220+ 23 May 2016
221221
222222## License
223223
Original file line number Diff line number Diff line change 1111 ],
1212 "dependencies" : {
1313 "jquery" : " ^3.0.0-rc1" ,
14- "lodash" : " ^4.12.0 " ,
14+ "lodash" : " ^4.13.1 " ,
1515 "react" : " ^15.1.0" ,
1616 "keymaster" : " ^1.6.3" ,
1717 "font-awesome" : " ^4.6.3"
Original file line number Diff line number Diff line change 1515 < div id ="loading ">
1616 < i class ="fa fa-spinner fa-spin fa-2x fa-fw margin-bottom "> </ i >
1717 </ div >
18- < div id ="content "> </ div >
18+ < div id ="content "> </ div >
1919 < webview id ="webview " allowtransparency > </ webview >
2020
2121 < script src ="./build/nw.js "> </ script >
Original file line number Diff line number Diff line change 1+ {
2+ "verbose" : false ,
3+ "ignore" : [
4+ " src/*" ,
5+ " public/*" ,
6+ " build/*.map" ,
7+ " build/api.js" ,
8+ " build/db.js" ,
9+ " build/index.js" ,
10+ " clients/*" ,
11+ " data/*" ,
12+ " views/*"
13+ ]
14+ }
Original file line number Diff line number Diff line change 4040 "express" : " ~4.13.4" ,
4141 "hbs" : " ~4.0.0" ,
4242 "killable" : " ^1.0.0" ,
43- "lodash" : " ^4.12.0 " ,
43+ "lodash" : " ^4.13.1 " ,
4444 "morgan" : " ^1.6.1" ,
4545 "pegjs" : " ^0.9.0" ,
4646 "request" : " ^2.72.0" ,
Original file line number Diff line number Diff line change @@ -115,7 +115,9 @@ tr:hover td.border-right {
115115 text-decoration : none;
116116 margin-right : 2px ;
117117}
118-
118+ .manageButton : hover {
119+ color : # 999 ;
120+ }
119121.grayscale {
120122 -webkit-filter : grayscale (1 );
121123}
@@ -138,7 +140,6 @@ tr:hover td.border-right {
138140::-webkit-scrollbar-corner {
139141 background : # fff ;
140142}
141-
142143/* Select style borrowed from: http://codepen.io/AmrSubZero/pen/dxpri */
143144select {
144145 background-color : # 357 ;
@@ -160,25 +161,20 @@ select {
160161 -webkit-transition : 0.3s ease all;
161162 transition : 0.3s ease all;
162163}
163-
164164select : focus , select : active {
165165 border : 0 ;
166166 outline : 0 ;
167167}
168-
169168.groupDropDown : hover {
170169 background-color : # 123 ;
171170}
172-
173171.groupDropDownDisabled {
174172 margin-right : 5px ;
175173 background-color : # 333 ;
176174}
177-
178175.groupDropDown {
179176 margin-right : 5px ;
180177}
181-
182178# version {
183179 position : fixed;
184180 bottom : 25px ;
Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ const API = (function(db) {
118118 finalResults . push ( {
119119 title : r . title ,
120120 ytid : r . id ,
121+ group : r . group ,
121122 isArchived : ( found !== undefined ) ? true : false
122123 } ) ;
123124 } ) ;
Original file line number Diff line number Diff line change @@ -63,12 +63,13 @@ class DropDown extends React.Component {
6363 }
6464 render ( ) {
6565 let renderedItems = this . state . items . map ( function ( e , i ) {
66- if ( e . selected ) {
66+ //console.log(`${e.name} === ${this.props.selected}`);
67+ if ( e . selected || ( this . props . selected !== undefined && this . props . selected === e . name ) ) {
6768 return < option key = { i } value = { e . value } selected > { e . name } </ option >
6869 } else {
6970 return < option key = { i } value = { e . value } > { e . name } </ option >
7071 }
71- } ) ;
72+ } . bind ( this ) ) ;
7273
7374 return (
7475 < select id = { this . state . name }
You can’t perform that action at this time.
0 commit comments