Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V2 - Error with loading model list #5

Open
wants to merge 248 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
248 commits
Select commit Hold shift + click to select a range
b2c2e0e
v2
sstativa Jan 10, 2017
fff54a2
Mdl 1.3.0
sstativa Mar 13, 2017
635c48d
Backup
sstativa Mar 13, 2017
405a7b1
MFCAuto, convert.js
sstativa Apr 30, 2017
2e57759
Small fix
sstativa Apr 30, 2017
71ba3e5
Credits
sstativa Apr 30, 2017
c01b0b9
Small fix
sstativa Apr 30, 2017
caa31c1
Improved convert.js
sstativa May 14, 2017
4c63710
convert.js fix
sstativa Jun 25, 2017
cbf13e9
Update main.js
horacio9a Jul 10, 2017
22bab77
v.2.0.0
horacio9a Jul 10, 2017
7468298
Delete convert.yml
horacio9a Jul 10, 2017
ebe17d6
Delete screenshot.png
horacio9a Jul 10, 2017
a5c4a8e
Delete convert.js
horacio9a Jul 10, 2017
7abb011
Update index.html
horacio9a Jul 10, 2017
79c352a
Update package.json
horacio9a Jul 10, 2017
177ec56
Update README.md
horacio9a Jul 10, 2017
8124bbd
http://localhost:9080/
horacio9a Jul 10, 2017
b645d1b
Update main.js
horacio9a Jul 12, 2017
1edf807
added filename for recorded models + size and some little fix's
horacio9a Jul 12, 2017
fdb1187
Little changes in text
horacio9a Jul 12, 2017
f27c674
fixed debug filename for recorded files
horacio9a Jul 12, 2017
f4d3991
Command Prompt Window
horacio9a Jul 12, 2017
1b8d365
Update main.js
horacio9a Jul 13, 2017
3d57213
Update README.md
horacio9a Jul 14, 2017
fe875ae
Update main.js
horacio9a Jul 14, 2017
e302d12
update mkdir function
horacio9a Jul 14, 2017
3f19f84
Each model is recorded in a separate folder now
horacio9a Jul 14, 2017
40fe5fa
v.2.0.1 added recording file format choice ('flv' or 'ts')
horacio9a Jul 16, 2017
290d917
v.2.0.1 added recording file format choice ('flv' or 'ts')
horacio9a Jul 16, 2017
6379764
v.2.0.1 added recording file format choice ('flv' or 'ts')
horacio9a Jul 16, 2017
0c94093
Removed file size counter display
horacio9a Jul 16, 2017
2c11f50
Delete screenshot2.jpg
horacio9a Jul 16, 2017
d870e67
Windows Command Promt look
horacio9a Jul 16, 2017
4edfd17
Delete index.html
horacio9a Jul 18, 2017
43462fc
v.2.0.1 added recording file format choice ('flv' or 'ts') - direct u…
horacio9a Jul 18, 2017
9b2170d
Added a description for new options
horacio9a Jul 18, 2017
b8262d7
load preview for models with 700 or higher score
horacio9a Jul 19, 2017
a6a8320
added model ID to subdirectory name
horacio9a Jul 20, 2017
8b57058
added age, country and city
horacio9a Jul 20, 2017
2c10d14
Added ethnic, occupation and blurb
horacio9a Jul 21, 2017
636941b
Added ethnic, occupation and blurb
horacio9a Jul 21, 2017
24cccc5
little changes for ethnic
horacio9a Jul 22, 2017
f0e2938
Delete screenshot.jpg
horacio9a Jul 22, 2017
1fdb02a
http://localhost:9080/
horacio9a Jul 22, 2017
bc1fd7d
v.2.0.2 added 'directoryFormat' + 'createModelDirectory'
horacio9a Jul 24, 2017
c13f389
v.2.0.2 added 'directoryFormat' + 'createModelDirectory'
horacio9a Jul 24, 2017
ac3832e
v.2.0.2 added 'directoryFormat' + 'createModelDirectory'
horacio9a Jul 24, 2017
0f547ae
v.2.0.2 added 'directoryFormat' + 'createModelDirectory'
horacio9a Jul 24, 2017
4085a2d
Duplicate some commands also to the right side of the browser
horacio9a Jul 25, 2017
014a7f0
Remove all the models data which take longer time to load
horacio9a Jul 31, 2017
88e3c6c
Some minor changes to the code
horacio9a Jul 31, 2017
402fbc5
Remove all the models data which take longer time to load
horacio9a Jul 31, 2017
e93dadc
Remove all the data which take longer time to load
horacio9a Jul 31, 2017
7fdd52a
Some minor changes to the code
horacio9a Jul 31, 2017
fcbc20a
v.2.0.6 update
horacio9a Aug 3, 2017
9897d12
Alternative UX
horacio9a Aug 3, 2017
977e21a
v.2.0.6 update
horacio9a Aug 3, 2017
f3f4d74
v.2.0.6 update
horacio9a Aug 3, 2017
4c4148b
v.2.0.6 update - added 'No Mobile Feed' alert
horacio9a Aug 3, 2017
3b67b31
v.2.0.6 update - New concept for spinner and main table
horacio9a Aug 4, 2017
a5a2088
v.2.0.6 update - Added colors for some texts
horacio9a Aug 6, 2017
577d290
v.2.0.6 update - If someone has problems uploading the blurb and topi…
horacio9a Aug 8, 2017
8f4e44d
v.2.0.6 update - Updated MFC Client
horacio9a Aug 8, 2017
7510f0c
v.2.0.6 update - Removed blurb & topic back to normal width
horacio9a Aug 8, 2017
5f9a52c
v.2.0.6 update - Removed Camscore & Miss MFC from spinner
horacio9a Aug 23, 2017
e01d514
v.2.0.6 update - Added skip the blurb and topic if it fails to decode
horacio9a Oct 27, 2017
9c4d0e7
v.2.0.7 Because of freezing replaced ffmpeg with livestreamer
horacio9a Nov 14, 2017
bfdd270
v.2.0.7 Replace 'flv' with 'mp4' for livestreamer support
horacio9a Nov 14, 2017
5b17da8
v.2.0.7 update
horacio9a Nov 14, 2017
a9b335c
v.2.0.6 update
horacio9a Nov 14, 2017
07f6bed
v.2.0.7 update
horacio9a Nov 14, 2017
d654957
v.2.0.7 update
horacio9a Nov 14, 2017
ac0e3c5
v.2.0.7 Because of freezing replaced ffmpeg with livestreamer
horacio9a Nov 14, 2017
0ec0f2e
v.2.0.7 Replace 'flv' with 'mp4' for livestreamer support and change …
horacio9a Nov 14, 2017
7fed2dd
v.2.0.7 Version for streamlink users
horacio9a Nov 14, 2017
fc3c2f7
v.2.0.6 index.html look in browser http://localhost:8888/
horacio9a Nov 14, 2017
3c6de45
v.2.0.7 Command Promt look for default Livestream version
horacio9a Nov 14, 2017
2e6a334
v.2.0.7 Command Promt look for default Streamlink version
horacio9a Nov 14, 2017
6c5e287
v.2.0.7 Command Promt look for default Livestreamer version
horacio9a Nov 14, 2017
969a210
Update README.md
horacio9a Nov 14, 2017
e50eb30
v.2.0.7 basic information how install and using this script
horacio9a Nov 14, 2017
4749496
v.2.0.7 basic information how install and using this script
horacio9a Nov 14, 2017
5a8a0ed
v.2.0.7 Choice between 'livestreamer' and 'streamlink' can be edited …
horacio9a Nov 15, 2017
c8ab705
v.2.0.7 Added choice between 'livestreamer' and 'streamlink' for down…
horacio9a Nov 15, 2017
f1e4af3
v.2.0.7 Added choice between 'livestreamer' and 'streamlink'
horacio9a Nov 15, 2017
43fcbbd
Delete main.sl.js
horacio9a Nov 15, 2017
8b44961
v.2.0.6 index.html look in browser http://localhost:8888/ and where c…
horacio9a Nov 15, 2017
7a4ff0c
v.2.0.6 look in browser http://localhost:8888/ and places for clicking
horacio9a Nov 15, 2017
0a0d650
v.2.0.8 Added 'downloadProgram:' and remove 'fileFormat' option
horacio9a Nov 22, 2017
7cfe563
v.2.0.8 The 'spinner' is smaller and important buttons are raised up
horacio9a Nov 22, 2017
f84a3dc
v.2.0.8 Now 'livestreamer', 'streamlink' or 'ffmpeg' can be selected
horacio9a Nov 22, 2017
7ee8fdc
Delete index.no_blurb.html
horacio9a Nov 22, 2017
57e1570
v.2.0.8 Update
horacio9a Nov 22, 2017
0b89414
v.2.0.8 Look of new 'spinner'
horacio9a Nov 22, 2017
f82da1d
v.2.0.8 Look after '/streamlink_cli/utils/progress.py' replace
horacio9a Nov 22, 2017
be3995e
Delete screenshot3.jpg
horacio9a Nov 22, 2017
3db3e0d
'... /streamlink_cli/utils/' and '... /livestreamer_cli/utils/' replace
horacio9a Nov 22, 2017
96203dc
v.2.0.8 Important notes for using MFC Node Recorder
horacio9a Nov 22, 2017
ab000c0
v.2.0.8 Important notes for using MFC Node Recorder
horacio9a Nov 22, 2017
fa43c7b
Merge pull request #2 from horacio9a/v208
horacio9a Nov 22, 2017
af5f337
v.2.0.8 Important notes for using MFC Node Recorder
horacio9a Nov 23, 2017
c152ad7
v.2.0.8 Important notes for using MFC Node Recorder
horacio9a Nov 23, 2017
ae44220
v.2.0.8 Now 'livestreamer', 'streamlink' or 'ffmpeg' can be selected
horacio9a Nov 24, 2017
6ad2cbc
v.3.0.1 added rtmp, streamlink, livestreamer and ffmpeg
horacio9a Jan 1, 2019
e7db2e9
v.3.0.1
horacio9a Jan 1, 2019
5a43a68
v.3.0.1
horacio9a Jan 1, 2019
62cbcf8
v.3.0.1
horacio9a Jan 1, 2019
c9de49b
v.3.0.1
horacio9a Jan 1, 2019
9a97bf5
v.3.0.1
horacio9a Jan 1, 2019
e5b6c30
v.3.0.1
horacio9a Jan 1, 2019
5319378
v.3.0.1
horacio9a Jan 1, 2019
ccbdd53
v.3.0.1 Small icon for Chrome browser
horacio9a Jan 1, 2019
506abb5
v.3.0.1 added rtmp, streamlink, livestreamer,ffmpeg and hlsdl
horacio9a Jan 2, 2019
68d9af0
v.3.0.1 Added hlsdl who use 960p and cut files after 12 segments reco…
horacio9a Jan 2, 2019
3a510c6
v.3.0.1 Important notes for using MFC Node Recorder
horacio9a Jan 2, 2019
825c34a
v.3.0.1
horacio9a Jan 3, 2019
e791f7f
v.3.0.1 Added rtmp, streamlink, livestreamer,ffmpeg and hlsdl
horacio9a Jan 3, 2019
e6a61b4
v.3.0.1
horacio9a Jan 3, 2019
df06517
v.3.0.1
horacio9a Jan 4, 2019
6b4fb73
v.3.0.1 Added rtmp, streamlink, livestreamer,ffmpeg and hlsdl
horacio9a Jan 4, 2019
cdeff7a
v.3.0.1
horacio9a Jan 5, 2019
d819114
v.3.0.1 Important notes for using MFC Node Recorder
horacio9a Jan 7, 2019
5a66eea
v.3.0.1
horacio9a Jan 11, 2019
8eef0a8
v.3.0.1
horacio9a Jan 11, 2019
f2e5c85
v.3.0.1 Added directoryFormat
horacio9a Jan 12, 2019
548dcf1
v.3.0.1 Added directoryFormat
horacio9a Jan 12, 2019
9dbb764
v.3.0.1 Added no recorded model state
horacio9a Jan 20, 2019
536601c
v.3.0.1
horacio9a Jan 22, 2019
0e4dd5f
v.3.0.1 Added no recorded model state
horacio9a Jan 22, 2019
e622ab6
Delete screenshot1.jpg
horacio9a Jan 28, 2019
d470e88
Delete screenshot2.jpg
horacio9a Jan 28, 2019
f298af4
v.3.0.1 New look of 'spinner'
horacio9a Jan 28, 2019
87fcb3b
v.3.0.1 Look after '/streamlink_cli/utils/progress.py' replace
horacio9a Jan 28, 2019
84c436b
Delete screenshot.jpg
horacio9a Jan 28, 2019
5b37642
v.3.0.1 Look in Chrome browser and places for clicking
horacio9a Jan 28, 2019
cba34ce
v.3.0.1
horacio9a Jan 28, 2019
4e46f8a
v.3.0.1
horacio9a Jan 28, 2019
a44c793
v.3.0.1 Added Club Show
horacio9a Feb 5, 2019
25aadc2
v.3.0.1 Added Club Show
horacio9a Feb 5, 2019
8719aa9
v.3.0.1 Add Club Show
horacio9a Feb 5, 2019
0a9c441
v.3.0.1 Add Club Show
horacio9a Feb 5, 2019
c89f436
v.3.0.1 Added Club Show
horacio9a Feb 6, 2019
f26041e
v.3.0.1
horacio9a Feb 9, 2019
c0edae8
v.3.0.1
horacio9a Feb 12, 2019
85108bc
v.3.0.1
horacio9a Feb 12, 2019
70eb21f
v.3.0.1
horacio9a Feb 12, 2019
c1d383c
v.3.0.1
horacio9a Feb 12, 2019
be9074e
v.3.0.1
horacio9a Feb 12, 2019
782c82f
v.3.0.1 Important notes for using MFC Node Recorder
horacio9a Feb 12, 2019
2e23cd7
v.3.0.2 Basic and HD version merged into one
horacio9a Feb 15, 2019
69b3f61
v.3.0.2 Basic and HD version merged into one
horacio9a Feb 15, 2019
3919f40
Delete main-hd.js
horacio9a Feb 15, 2019
7c889f4
Delete index-hd.html
horacio9a Feb 15, 2019
9505d36
Delete config-hd.yml
horacio9a Feb 15, 2019
b5db06f
v.3.0.2
horacio9a Feb 15, 2019
dded62f
v.3.0.2 Important notes for using MFC Node Recorder
horacio9a Feb 15, 2019
14dfc7a
v.3.0.2 Basic and HD version merged into one
horacio9a Feb 15, 2019
b7291ac
v.3.0.2 Basic and HD version merged into one
horacio9a Feb 15, 2019
6aaa22e
v.3.0.2 Basic and HD version merged into one
horacio9a Feb 16, 2019
0bf90a5
v.3.0.2 Basic and HD version merged into one
horacio9a Feb 17, 2019
b08f2f0
v.3.0.2 Basic and HD version merged into one
horacio9a Feb 17, 2019
e43dfae
v.3.0.2 Basic and HD version merged into one
horacio9a Feb 18, 2019
d1b5377
v.3.0.2 Basic and HD version merged into one
horacio9a Feb 19, 2019
9e7827d
v.3.0.2 Basic and HD version merged into one.
horacio9a Feb 20, 2019
6bd595f
v.3.0.2 Basic and HD version merged into one.
horacio9a Feb 20, 2019
457bec6
v.3.0.3 Basic and HD version merged into one.
horacio9a Feb 21, 2019
615dbae
v.3.0.3 Basic and HD version merged into one.
horacio9a Feb 21, 2019
b92543d
v.3.0.3 Basic and HD version merged into one.
horacio9a Feb 23, 2019
3d72f6c
v.3.0.3
horacio9a Feb 23, 2019
62ce779
v.3.0.3
horacio9a Feb 23, 2019
fa8576a
File Converter for ffmpeg v.3.4.1
horacio9a Feb 23, 2019
d827036
File Converter for ffmpeg v.3.4.1 and higher
horacio9a Feb 24, 2019
6472e1a
File Converter only for ffmpeg v.2.8.4 - look README.md
horacio9a Feb 24, 2019
d9af465
v.3.0.3 Important notes for using MFC Node Recorder
horacio9a Feb 24, 2019
fcaff0e
v.3.0.3 Look after '/streamlink_cli/utils/progress.py' replace
horacio9a Feb 24, 2019
d6d598f
Add files via upload
horacio9a Feb 24, 2019
72092ca
v.3.0.3 Look in Chrome or Firefox browser and places for clicking
horacio9a Feb 24, 2019
aa4aa76
v.3.0.3 Basic and HD version merged into one.
horacio9a Feb 24, 2019
fe84108
v.3.0.3 Basic and HD version merged into one.
horacio9a Feb 25, 2019
43be9ca
v.3.0.3
horacio9a Feb 25, 2019
67b84a6
v.3.0.3
horacio9a Feb 25, 2019
ad86f57
File Converter only for ffmpeg v.2.8.4 - look README.md
horacio9a Feb 25, 2019
4a89d14
File Converter for ffmpeg v.3.4.1 and higher
horacio9a Feb 25, 2019
4039d70
v.3.0.3 Basic and HD version merged into one.
horacio9a Feb 25, 2019
7d30546
v.3.0.3 File Converter for latest and ffmpeg v.2.8.4
horacio9a Mar 3, 2019
78511b2
Delete convert284.js
horacio9a Mar 3, 2019
4b03a49
v.3.0.3 Added choice for latest and ffmpeg v.2.8.4
horacio9a Mar 3, 2019
0bea4e1
v.3.0.3 File Converter for latest and ffmpeg v.2.8.4
horacio9a Mar 5, 2019
582b1ae
v.3.0.3 Important notes for using MFC Node Recorder and convert script.
horacio9a Mar 5, 2019
b86cb8e
v.3.0.3 Important notes for using MFC Node Recorder and convert script.
horacio9a Mar 5, 2019
c2d4ee5
v.3.0.3 Important notes about MFC Node Recorder and all scripts.
horacio9a Mar 5, 2019
c6d70cc
v.3.0.3 File Converter and fixer for latest and ffmpeg v.2.8.4
horacio9a Mar 7, 2019
bf6a7e7
v.3.0.4
horacio9a Mar 17, 2019
b1265dd
v.3.0.4
horacio9a Mar 17, 2019
327ddc0
...\node_modules\MFCAuto\lib\Client.js replace
horacio9a Mar 17, 2019
4ebc2c1
v.3.0.4
horacio9a Mar 17, 2019
10c0b76
v.3.0.4
horacio9a Mar 19, 2019
fcc8e40
v.3.0.4
horacio9a Mar 19, 2019
c33ae14
...\node_modules\MFCAuto\lib\Client.js replace
horacio9a Mar 19, 2019
7e8aecb
v.3.0.4
horacio9a Mar 19, 2019
057cb1a
...\node_modules\js-yaml\lib\js-yaml\dumper.js replace
horacio9a Mar 21, 2019
6cd23cd
...\node_modules\MFCAuto\lib\Client.js replace
horacio9a Mar 21, 2019
42d014a
v.3.0.5
horacio9a Mar 21, 2019
aa8515d
v.3.0.5
horacio9a Mar 21, 2019
8550c24
...\node_modules\MFCAuto\lib\Client.js replace for MFCAuto-5.11.4
horacio9a Mar 21, 2019
e302468
v.3.0.5 Fixed default values for 'config.yml'
horacio9a Mar 22, 2019
628c26a
v.3.0.6 Added 'directoryFormat' option
horacio9a Mar 23, 2019
3617219
v.3.0.6 Added 'directoryFormat' option
horacio9a Mar 23, 2019
008093a
v.3.0.6 Added 'directoryFormat' option
horacio9a Mar 23, 2019
719cb03
v.3.0.6 Added 'directoryFormat' option
horacio9a Mar 23, 2019
bf20a94
v.3.0.7 Fixed 'queue' bug - added 'FileSize'
horacio9a Mar 25, 2019
6d6cebe
v.3.0.7
horacio9a Mar 25, 2019
6c9ad7d
v.3.0.7
horacio9a Mar 25, 2019
ee3c77b
v.3.0.8 Added path to all dl programs
horacio9a Mar 30, 2019
4ec984f
v.3.0.8 Added path to all dl programs
horacio9a Mar 30, 2019
b38497c
v.3.0.8 Added path to all dl programs
horacio9a Mar 30, 2019
d9e35a0
v.3.0.8 Added path to all dl programs
horacio9a Mar 30, 2019
b3ea602
v.3.0.8 Added path to all dl programs
horacio9a Mar 30, 2019
e683a5d
v.3.0.9
horacio9a Jun 2, 2019
4919768
v.3.0.9
horacio9a Jun 2, 2019
e67d1e0
v.3.0.9
horacio9a Jun 2, 2019
8e5056b
v.3.0.9 Look after '/streamlink_cli/utils/progress.py' replace
horacio9a Jun 2, 2019
db0b14e
v.4.0.0
horacio9a Jan 23, 2021
8ee6e4e
v.4.0.0
horacio9a Jan 23, 2021
e13008f
v.4.0.0
horacio9a Jan 23, 2021
5ce3d32
v.4.0.0
horacio9a Jan 23, 2021
5c9b123
... \Streamlink\pkgs\streamlink_cli\utils\progress.py replace
horacio9a Jan 23, 2021
6c9b312
v.4.0.0 Added some streamlink options
horacio9a Jan 23, 2021
25467d7
v.4.0.0 Queue fix
horacio9a Jan 25, 2021
a31c2c8
v.4.0.0 New 'readme' text
horacio9a Jan 25, 2021
56201bc
v.4.0.0 Look for places for clicking in web browser
horacio9a Jan 25, 2021
3175364
v.4.0.0 New look of 'spinner'
horacio9a Jan 25, 2021
69b24c2
v.4.0.0 Look of Node.js window
horacio9a Jan 25, 2021
0e5de21
v.4.0.0 Clickable places
horacio9a Jan 26, 2021
0b340ae
v.4.0.0 Sinner window layout
horacio9a Jan 26, 2021
34aa865
v.4.0.0 Node.js window layout
horacio9a Jan 26, 2021
5406583
Delete screenshot2.jpg
horacio9a Jan 26, 2021
0204f56
Delete screenshot.jpg
horacio9a Jan 26, 2021
d8c1c56
Delete screenshot1.jpg
horacio9a Jan 26, 2021
e2ff2d5
Delete Screenshot.jpg
horacio9a Jan 26, 2021
dcaed22
Delete Screenshot1.jpg
horacio9a Jan 26, 2021
f4c2a26
Delete Screenshot2.jpg
horacio9a Jan 26, 2021
a45e9c8
Update README.md
horacio9a Jan 26, 2021
2f5ca73
Update README.md
horacio9a Jan 26, 2021
aa9a1f4
v.4.0.0
horacio9a Jan 26, 2021
2240350
v.4.0.0 Instructions
horacio9a Jan 26, 2021
3b843bb
v.4.0.0 Instructions
horacio9a Jan 27, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# editorconfig.org
root = true

[*.js]
[*.{js,html}]
indent_style = space
indent_size = 2
end_of_line = lf
Expand Down
38 changes: 35 additions & 3 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,10 +1,42 @@
{
"parser": "babel-eslint",
"extends": "airbnb/legacy",
"env": {
"browser": true
"browser": true,
"jquery": true
},
"globals": {
"_": true,
"hljs": true,
"google": true,
"angular": true
},
"rules": {
"quotes": [2, "single"]
"quotes": [2, "single"],
"comma-dangle": [2, "never"],
"func-names": [1, "never"],
"max-len": 0,
"wrap-iife": [2, "inside"],
"dot-notation": [2, {
"allowKeywords": true,
"allowPattern": "^(delete|finally)$"
}],
"no-param-reassign": [2, {
"props": false }
],
"no-mixed-operators": [2, {
"groups": []
}],
"no-unused-vars": [2, {
"args": "none"
}],
"vars-on-top": 0,
"no-use-before-define": [2, {
"functions": true,
"classes": true
}],
"no-underscore-dangle": [2, {
"allow": ["_id"]
}]
}
}
}
4 changes: 0 additions & 4 deletions .jscsrc

This file was deleted.

2,878 changes: 2,878 additions & 0 deletions Client.js

Large diffs are not rendered by default.

123 changes: 71 additions & 52 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,81 +1,100 @@
mfc-node
==========
What's new?
===========
Version 4.0.0 came out after a slightly longer break. During that time, a lot has changed, so this program had to be adapted to the new situation.
It seems that MFC rejected rtmp, so there are no more models that we could not record with this program.
I kept the division into HD and SD models, and there is no need for LD anymore, because there are no more models with CS less than 840 that were exclusively rtmp.
Don’t take the division into HD and SD literally as far as video quality itself is concerned, as there are frequent exceptions from both categories.
Recording to text files has also been added for SD links in addition to existing HD links. It is now possible to preview snapshots and videos for all models.
Basically everything that didn't work before works great now. If the recording doesn’t work it most likely means the model has meanwhile gone Private, Away or Offline.
It is best to use the Streamlink program. Youtube-dl also records well, but it seems that the interruption of video recording must be resolved (it doesn't work for me).
Ffmpeg as before has a freeze during video recording but there is always hope that someone will fix it in the future versions.
I kept the option of selecting 4 combinations of subdirectory names. More is explained in the `config.yml` file. Also is possible add models you are looking for at the end of `config.yml` like this:

mfc-node lets you follow and record your favorite models' shows on myfreecams.com
queue: [nm: TheIconicGirl,nm: LovelyClara4u,uid: 34519531]

Now we have only this three programs for recording live MFC models videos:

This is an attempt to create a script similar to [capturbate-node](https://github.com/SN4T14/capturebate-node) based on different pieces of code found on the Internet.
1. streamlink - mp4 - sl
2. ffmpeg - flv - ff
3. youtube-dl - ts - yt

![alt screenshot](./screenshot.png)
mfc-node
========
mfc-node lets you follow and record your favorite models' shows on myfreecams.com
This is based on script similar to [capturbate-node] founded on the Github.

Credits:
* [capturbate-node](https://github.com/SN4T14/capturebate-node)
* [Sembiance/get_mfc_video_url.js](https://gist.github.com/Sembiance/df151de0006a0bf8ae54)
* [mfc-node](https://github.com/sstativa/mfc-node)
* [MFCAuto](https://github.com/ZombieAlex/MFCAuto)

Requirements
==========
[Node.js](https://nodejs.org/download/) used to run mfc-node, hence the name. (Tested on `4.4.7` and `6.3.1`)

[ffmpeg](https://www.ffmpeg.org/download.html)

Attention
===========
Even thought this version of the script should be able to use an old version of `config.yml` file from previous releases you should make a backup of old `config.yml` file before pulling the code.
============
1. [Node.js](https://nodejs.org/download/release/) used to run mfc-node, hence the name. (tested with node v14.15.4-x64)
2. [Streamlink](https://github.com/streamlink/streamlink/releases) (tested with the last version 2.0.0)
3. [ffmpeg](https://www.videohelp.com/software/ffmpeg) It is recommended to install the latest version.
4. [youtube-dl](https://github.com/ytdl-org/youtube-dl/releases/) It is recommended to install the latest version.

Setup
===========

1. Install [Node.js](https://nodejs.org/download/) (tested with 4.6.x and 6.3.x).
2. Download and unpack the [code](https://github.com/sstativa/mfc-node/archive/master.zip).
3. Open console and go into the directory where you unpacked the files.
4. Install requirements by running `npm install` in the same directory as `main.js` is.
5. Edit `config.yml` file and set desirable values for `captureDirectory`, `completeDirectory`, `modelScanInterval`.
6. Install [ffmpeg](https://www.ffmpeg.org/download.html). For Windows users, copy `ffmpeg.exe` into same directory as `main.js` is.
=====
1. Install [Node.js](https://nodejs.org/download/) (minimum node version requirement: v9.4).
2. Download and unpack the [code](https://codeload.github.com/horacio9a/mfc-node/zip/v2).
3. Install requirements by running `npm install` in the same directory as `main.js` is (Windows users must install [Git](https://git-for-windows.en.lo4d.com/download)).
4. Edit `config.yml` file with the all necessary data.
5. `streamlink.exe`,`ffmpeg.exe` and `youtube-dl.exe` can be anywhere but the path's must be edited in `config.yml`.

Running
===========

1. Open console and go into the directory where you unpacked the files.
=======
1. Open Terminal (macOS) or Command Prompt (Windows) and go into the directory where you unpacked the files.
2. Run `node main.js`.
3. Open [http://localhost:9080](http://localhost:9080) in you browser. The list of online models will be displayed with a set of allowed commands for each model:
3. Open [http://localhost:8888](http://localhost:8888) in your web browser. The list of online models will be displayed with a set of allowed commands for each model:

* __Include__ - if you want to record the model
* __Exclude__ - if you don't want to record the model anymore
* __Delete__ - if you are not interested in the model and wanna hide her permanently

> Note: This is not a real-time application. Whenever your __include__, __exclude__ or __delete__ the model your changes will be applied only with the next iteration of `mainLoop` function of the script. `mainLoop` runs every 30 seconds (default value for `modelScanInterval`).
- The online model list can be sorted by various criteria (default is 'state' because at the top are the models currently being recorded).
- If you looking for some models, click on the model name and a 'spinner' will appear with the model image with all available model data.
- If you want to start recording, click the red button ('Japanese flag'). For stop recording click the stop button (right of the red button).
- If some model doesn't want to recording constantly click red button right from 'Japanese flag' and after 24 hours that model will be expired (Mode in config.yml will become 0).
- All this can be done online and track what is happening on the console, and you can view recorded file immediately if you start some media player, for example VLC.
- When you click on a preview thumbnail the large model image is obtained in the next tab of your browser.
- The MFC Recorder now can record the MFC streams with three different programs (streamlink, ffmpeg and youtube-dl in mp4, flv and ts) depending on the data in config.yml ('sl', 'ff' or 'yt'). Currently it is best to use 'streamlink' because they don't have the so-called 'freeze' problem as it currently has 'ffmpeg'.
- By pressing 'State/Online' you can enter in the model room with your browser.
- By pressing the model 'Quality' you get a video preview of the current model in separate window of your browser. For this feature my recommendation is to use the Chrome browser with the installed add-on [Play HLS M3u8](https://chrome.google.com/webstore/detail/play-hls-m3u8/ckblfoghkjhaclegefojbgllenffajdc/related) but if you want firefox then need to install [Native HLS Playback](https://addons.mozilla.org/en-US/firefox/addon/native_hls_playback/)
- Streamlink users you can replace 'progress.py' for look better and to be useful because we will now know how is big files we are currently recording.

> Note: There is no __auto reload__ feature, you have to reload the list manually (__big red button__), however, keep in mind the script updates the list internally every 30 seconds (`modelScanInterval`), therefore sometimes you'll have to wait 30 seconds to see your updates.
The list of online models will be displayed with a set of allowed commands for each model:
Include - if you want to record the model
Exclude - if you don't want to record the model anymore
Delete - if you are not interested in the model and wanna hide her permanently

> Note: Be mindful when capturing many streams at once to have plenty of space on disk and the bandwidth available or you’ll end up dropping a lot of frames and the files will be useless.
This is not a real-time application. Whenever your 'include', 'exclude' or 'delete' the model your changes will be applied only with the next iteration of 'mainLoop' function of the script. 'mainLoop' runs every 30 seconds (default value for 'modelScanInterval').
There is no 'auto reload' feature, you have to reload the list manually with 'big red button', however, keep in mind the script updates the list internally every 30 seconds ('modelScanInterval'), therefore sometimes you'll have to wait 30 seconds to see any updates.
Be mindful when capturing many streams at once to have plenty of space on disk and the bandwidth available or you’ll end up dropping a lot of frames and the files will be useless.

Converting
===========
I've made a unique script for convert and fix all three formats (ts, mp4 and flv) to the final `.flv` format, which can be easily watched or edited after. Mostly, the script processes all files regardless of whether they have audio or not. Newer versions of ffmpeg's have problem with some codec's like speex audio and I recommend old ffmpeg v.2.8.4 for that. The renamed files of ffmpeg v.2.8.4 is here: [ffmpeg284](https://www.mediafire.com/file/o9wifql28cx2qqh/ffmpeg-2.8.4-win32.rar/file). Just put `ffmpeg284.exe` in the same directory where is `ffmpeg.exe` located and edit 'ffmpeg284' in `config.yml` for `convertProgram`. After converting and fixing video files are ready for viewing or editing. Just edit `convert.yml` with appropriate values for `srcDirectory`, `dstDirectory` and choose ffmpeg version.

There is a simple script to convert `.ts` files. Just edit `convert.yml` file and set proper values for `srcDirectory` (should be the same with `completeDirectory`) and `dstDirectory`, and run `node convert.js` in a separate console window.

For advanced users
===========
Proxy
=====
This is just a Proof of Concept to avoid region block.
To use it you have to start `proxy.js` on some remote server located in a different region then add a parameter `proxyServer` to your local `config.yml`, for example, `proxyServer: '54.206.109.161:9090'`.
The `main.js` script will try to get models from the remote region then merge them with the list of models available in your region.

There are several special URLs that allow implementing some operations with a model even if she is offline.
Windows exe version
===================
Windows users who have a problem with this installation can download the EXE version.
- win-x86 version: [nm-mfc-4.0.0_win-x86](https://www.mediafire.com/file/ecksf6dpj1220b0/nm-mfc-4.0.0_win-x86.rar/file)
- win-x64 version: [nm-mfc-4.0.0_win-x64](https://www.mediafire.com/file/xicjuj3u8qynzlg/nm-mfc-4.0.0_win-x64.rar/file)

__Include__

```
http://localhost:9080/models/include?nm=modelname
http://localhost:9080/models/include?uid=12345678
```
Clickable places:

__Exclude__
![alt screenshot](./Screenshot_0.jpg)

```
http://localhost:9080/models/exclude?nm=modelname
http://localhost:9080/models/exclude?uid=12345678
```
Spinner window layout:

__Delete__
![alt screenshot](./Screenshot_1.jpg)

```
http://localhost:9080/models/delete?nm=modelname
http://localhost:9080/models/delete?uid=12345678
```
Node.js window layout:

![alt screenshot](./Screenshot_2.jpg)
Binary file added Screenshot_0.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshot_1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Screenshot_2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 18 additions & 13 deletions config.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
captureDirectory: ./captures
completeDirectory: ./complete
modelScanInterval: 30
minFileSizeMb: 10
port: 9080
debug: false
models: []
includeModels: []
includeUids: []
excludeModels: []
excludeUids: []
deleteModels: []
deleteUids: []
captureDirectory: 'D:/Videos/MFC' # Choose a directory for the recorded files.
createModelDirectory: true # If you want all the files of the same model to be recorded in a separate subdirectory with various 'directoryFormat' names.
directoryFormat: id+nm # You can choose between 'id+nm','nm+id','id' and 'nm' separate subdirectory format (Of course only if the previous option is 'true').
dateFormat: DDMMYYYY-HHmmss # Choose date format for the filename, for example: YYYY-MM-DD_HH-mm-ss
downloadProgram: sl # Choose program for download stream (sl, ff, yt).
streamlink: 'C:/Program Files (x86)/Streamlink/bin/streamlink.exe' # Enter the path of the program in your computer.
ffmpeg: 'C:/Windows/ffmpeg.exe' # Enter the path of the program in your computer.
youtube: 'C:/Windows/youtube-dl.exe' # Enter the path of the program in your computer.
modelScanInterval: 30 # In seconds, how often mfc-node checks for newly online models.
minFileSizeMb: 1 # If you don't want the files smaller than some value in MB to be recorded.
port: 8888 # number of port for your browser url for example: http://localhost:8888/
proxyServer: false # If you want to bypass region block use some good proxy server - replace null with proxy IP Address like 'xx.xx.xx.xxx:xx'.
debug: true # If you want a more detailed view put 'true' or 'false' to skip this option.
models: # This is only example - all your models will be added with your browser with spinner.
- uid: 33791488
mode: 1
nm: Valeria_swang
queue: []
Loading