This repository has been archived by the owner on Sep 28, 2018. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 7f33bfc
Showing
68 changed files
with
2,391 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Recstore | ||
--------- | ||
|
||
TV recording system on top of Apache CouchDB | ||
|
||
This package can be used only in Japan. | ||
|
||
Requirements | ||
------------------ | ||
|
||
- Apache CouchDB 0.11.0 | ||
- Python 2.6 | ||
- Python restkit | ||
- friiorec | ||
|
||
Installation | ||
---------------- | ||
|
||
Deploy on CouchDB | ||
--------------------- | ||
|
||
> git clone .... | ||
> cd recstore | ||
> couchapp push http://admin:password@host:port/recstore | ||
|
||
Configureing crontab | ||
---------------------- | ||
|
||
you need to confgiure crontab enable to collect iEPG information fron infoseek(http://tv.infoseek.co.jp/). | ||
|
||
COUCH_URL=http://admin:password@host:port/recstore | ||
LOG_DIR=/var/log/recstore | ||
|
||
# --- crawler | ||
30 5 * * 0 /usr/bin/curl -X GET ${COUCH_URL}/recstore/_design/recstore/scripts/crawler.py | /usr/bin/python2.6 - -d ${COUCH_URL}/recstore -n 8 2>&1 > ${LOG_DIR}/recstore_weekly.log | ||
30 5 * * 1-6 /usr/bin/curl -X GET ${COUCH_URL}/recstore/_design/recstore/scripts/crawler.py | /usr/bin/python2.6 - -d ${COUCH_URL}/recstore -n 1 2>&1 > ${LOG_DIR}/recstore_daily.log | ||
# --- scheduler | ||
*/2 * * * * /usr/bin/curl -X GET ${COUCH_URL}/recstore/_design/recstore/scripts/scheduler.py | /usr/bin/python2.6 - -d ${COUCH_URL}/recstore 2>&1 > ${LOG_DIR}/recstore_scheduler.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
Fugue Icons | ||
http://p.yusukekamiyamane.com/ |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
div.lineup { | ||
font-size: 9pt; | ||
} | ||
|
||
div.lineup header { | ||
margin-bottom: 10px; | ||
} | ||
|
||
div.lineup form#date-navigator { | ||
font-size: 14pt; | ||
vertical-align: middle; | ||
} | ||
div.lineup form#date-navigator input#date{ | ||
font-size: 12pt; | ||
border: none; | ||
width: 100px; | ||
} | ||
|
||
div.lineup div#links { | ||
float:right; | ||
font-size: 14pt; | ||
} | ||
|
||
div.lineup table { | ||
width: 100%; | ||
} | ||
|
||
div.lineup tbody tr td{ | ||
vertical-align:top; | ||
border: solid 1px #cccccc; | ||
} | ||
|
||
div.lineup tbody tr td.record{ | ||
background-color: #fcd113; | ||
} | ||
|
||
div.lineup tbody tr td.program a.rec{ | ||
display: inline; | ||
} | ||
|
||
div#main.guest a.rec, | ||
div#main.guest a.unrec{ | ||
display: none; | ||
} | ||
|
||
div#main.admin div.lineup tbody tr td.program a.unrec{ | ||
display: none; | ||
} | ||
div#main.admin div.lineup tbody tr td.record a.rec{ | ||
display: none; | ||
} | ||
div#main.admin div.lineup tbody tr td.record a.unrec{ | ||
display: inline; | ||
} | ||
|
||
div.lineup tbody tr td.padding{ | ||
background-color: #eeeeee; | ||
} | ||
|
||
div.lineup tbody tr td.hrow, | ||
div.lineup thead tr th{ | ||
font-size: 10pt; | ||
vertical-align:middle; | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
.ui-widget { | ||
font-size: 9pt; | ||
} | ||
|
||
#template { | ||
display: none; | ||
} | ||
#login { | ||
font-size: 9pt; | ||
} | ||
|
||
div.lineup { | ||
font-size: 9pt; | ||
} | ||
div.lineup #date { | ||
font-size: 16pt; | ||
width: 140px; | ||
} | ||
|
||
div.lineup table { | ||
width: 100%; | ||
} | ||
|
||
div.lineup tbody tr td{ | ||
vertical-align:top; | ||
border: solid 1px #cccccc; | ||
} | ||
|
||
div.lineup tbody tr td.record{ | ||
background-color: #fcd113; | ||
} | ||
|
||
div.lineup tbody tr td.program a.rec{ | ||
display: inline; | ||
} | ||
div.lineup tbody tr td.program a.unrec{ | ||
display: none; | ||
} | ||
|
||
div.lineup tbody tr td.record a.rec{ | ||
display: none; | ||
} | ||
div.lineup tbody tr td.record a.unrec{ | ||
display: inline; | ||
} | ||
|
||
|
||
div.lineup tbody tr td.padding{ | ||
background-color: #eeeeee; | ||
} | ||
|
||
div.lineup tbody tr td.hrow, | ||
div.lineup thead tr th{ | ||
font-size: 10pt; | ||
vertical-align:middle; | ||
text-align: center; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
div.odd { | ||
border-top: solid 2px #cccccc; | ||
} | ||
div.even { | ||
border-top: solid 2px #ccccff; | ||
} | ||
|
||
div.row { | ||
padding-top: 5px; | ||
margin-bottom: 10px; | ||
} | ||
|
||
div.row header{ | ||
display: block; | ||
font-weight: bold; | ||
margin-bottom: 10px; | ||
} | ||
|
||
div.row header h3 { | ||
margin-bottom: 0px; | ||
|
||
} | ||
|
||
div.row footer{ | ||
text-align: right; | ||
display: block; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
body { | ||
font-size: 9pt; | ||
} | ||
|
||
header, footer{ | ||
display: block | ||
} | ||
|
||
header h1 a { | ||
text-decoration: none; | ||
} | ||
|
||
a.icon { | ||
padding: 0 16px 0 0; | ||
background: transparent url('') no-repeat center right; | ||
} | ||
img.icon { | ||
border:none; | ||
vertical-align: middle; | ||
} | ||
|
||
|
||
.ui-widget { | ||
font-size: 9pt; | ||
} | ||
|
||
|
||
header.site { | ||
margin-bottom: 5px; | ||
padding-bottom: 5px; | ||
border-bottom: #eeeeee 1px solid; | ||
} | ||
|
||
header.site div#userCtx { | ||
float: right; | ||
} | ||
|
||
div#main { | ||
clear:both; | ||
} | ||
|
||
footer.site { | ||
margin-top: 5px; | ||
padding-top: 5px; | ||
border-top: #eeeeee 1px solid; | ||
text-align: right; | ||
|
||
} | ||
|
||
|
||
/** Login form **/ | ||
form#login { | ||
font-size: 9pt; | ||
} | ||
|
||
#template { | ||
display: none; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Generated CouchApp</title> | ||
<link rel="stylesheet" href="style/main.css" type="text/css"> | ||
</head> | ||
<body> | ||
<h1>Generated CouchApp</h1> | ||
<p>This is a placeholder page</p> | ||
</body> | ||
<script src="/_utils/script/json2.js"></script> | ||
<script src="/_utils/script/jquery.js?1.3.1"></script> | ||
<script src="/_utils/script/jquery.couch.js?0.9.0"></script> | ||
</html> |
Oops, something went wrong.