These are chat archives for scytherswings/Plex-Board

30th
Mar 2017
Sean Vreeland
@seanvree
Mar 30 2017 02:57
yooooo buddy
you get me eamil about the logs?
Andrew Newell
@scytherswings
Mar 30 2017 02:58
Oh shoot i forgot to open it, got it at a bad time
Sean Vreeland
@seanvree
Mar 30 2017 02:58
no prob
let me know what you think
just an idea
Andrew Newell
@scytherswings
Mar 30 2017 02:58
logging in now
yeah man
I'm thinking that would look pretty sweet in a pull-out drawer sidebar thing
Sean Vreeland
@seanvree
Mar 30 2017 02:59
Yeah exactly
Andrew Newell
@scytherswings
Mar 30 2017 02:59
maybe be able to drag the width
Sean Vreeland
@seanvree
Mar 30 2017 02:59
so that was easy to do
however, it's a PHP page
I know you siad you didn't do anything in PHP
yeah, I did it in an hour or so
so totally editable
i'll send you the code so you can take a cloook
Andrew Newell
@scytherswings
Mar 30 2017 03:00
Right, but for stuff like that I have to add tests and of course stylize it
So you think it's safe to go with looking for logs locally
low-hanging fruit I agree
easier than integrating with other services at this point
Sean Vreeland
@seanvree
Mar 30 2017 03:01
right....I mean, I looked at API stuff, but it was just too hard to do
I'm not sure if you could just implement some type of imput into the service add page to where they could point it to where the log for that servcie is?
not sure, million ways to do it
but the actual code is easy
Andrew Newell
@scytherswings
Mar 30 2017 03:02
Yeah, the hard part comes in how to auto-update it (the page I mean)
Also I'd like to spend the time making the UI look like the rest of the project
Sean Vreeland
@seanvree
Mar 30 2017 03:03
Exactly
wait - auto-update the page/
what do you mean?
Andrew Newell
@scytherswings
Mar 30 2017 03:03
Stream the logs
Like a live tail
of the logs
Sean Vreeland
@seanvree
Mar 30 2017 03:05
so that code will auto update the logs
all you have to do is just hit refresh
The logs aren't "real time"
if that's what you mean?
Andrew Newell
@scytherswings
Mar 30 2017 03:05
Yeah
you dont want to have to refresh your dashboard
That would defeat the purpose
Sean Vreeland
@seanvree
Mar 30 2017 03:05
right, but doesn't the page auto refresh anyway?
Andrew Newell
@scytherswings
Mar 30 2017 03:06
No, it's fed live from SSE and updated using javascript
Sean Vreeland
@seanvree
Mar 30 2017 03:06
ahhhh
yes
I see
okay
welll
I actually love that little deal I mad
but you see what I mean
something like that
tables, logs, etc
Andrew Newell
@scytherswings
Mar 30 2017 03:06
Absolutely
Sean Vreeland
@seanvree
Mar 30 2017 03:06
live logging deal would be dope
like your other project for rails logs
Andrew Newell
@scytherswings
Mar 30 2017 03:07
I plan to add it after getting the number of active streams/transcodes in the navigation bar
Sean Vreeland
@seanvree
Mar 30 2017 03:07
yeah, i think that's key
how's that coming? do any work on that?
Andrew Newell
@scytherswings
Mar 30 2017 03:07
like your other project for rails logs
^ I plan to modify that project to work for any logs on the server. That project has most of the heavy lifting done, I would just need to wrap the output in a nice bootstrap table for each service etc.
I just finished the tests for validating input from the Plex API
Sean Vreeland
@seanvree
Mar 30 2017 03:08
wurd
I'm loving it man
I can't wait to finish that, then we do some marketing on Plex boards, and reddit?
Andrew Newell
@scytherswings
Mar 30 2017 03:08
So now I'm trying to figure out the best way to update the page using the existing SSE now_playing events I have
Sean Vreeland
@seanvree
Mar 30 2017 03:08
call it 1.0 beta?
Andrew Newell
@scytherswings
Mar 30 2017 03:08
Hahaha Uhhhhhhhhhhhhhhhh
Well we should probably make it more stable first
Sean Vreeland
@seanvree
Mar 30 2017 03:08
I really think this has potentinal man
Andrew Newell
@scytherswings
Mar 30 2017 03:08
fix that image caching issue
Sean Vreeland
@seanvree
Mar 30 2017 03:08
Yeah, for sure
Andrew Newell
@scytherswings
Mar 30 2017 03:09
Once the image caching is stable I'd say we could call it 1.0.0
Logs would be a nice-to-have
Sean Vreeland
@seanvree
Mar 30 2017 03:09
I run a plex server for like 30 people and I pushed it out to my "customers" and they all love it to check real quick to see what's up
I was also thinking
Andrew Newell
@scytherswings
Mar 30 2017 03:09
But I think I'd go ahead with the production release without the logs
Sean Vreeland
@seanvree
Mar 30 2017 03:09
dude, how hard would it be to add simple CPU load / IP load?
like from the network status deal?
I knwo I said we shouldn't add it, but I'm kinda going back on that
Andrew Newell
@scytherswings
Mar 30 2017 03:10
Well, I can easily get the server that Plex-Board is running on
but any external server
is basically off-limits without making or hooking into some other project that can provide an API to hit
or some way to report their health back to Plex-Board
Sean Vreeland
@seanvree
Mar 30 2017 03:10
right
Andrew Newell
@scytherswings
Mar 30 2017 03:11
For me, I actually run each service as a separate VM
Sean Vreeland
@seanvree
Mar 30 2017 03:11
couldn't we just take the elements from the network-statu and add them below the service status?
Andrew Newell
@scytherswings
Mar 30 2017 03:11
Well that also only pulls status from the server it's running on
Sean Vreeland
@seanvree
Mar 30 2017 03:11
right right
Andrew Newell
@scytherswings
Mar 30 2017 03:11
So that suffers from the same limitation
Sean Vreeland
@seanvree
Mar 30 2017 03:11
see, I run everything nately
gotcha
up to you, just a thought
Andrew Newell
@scytherswings
Mar 30 2017 03:12
It's on the list of wanted features
Sean Vreeland
@seanvree
Mar 30 2017 03:12
for sure
Andrew Newell
@scytherswings
Mar 30 2017 03:12
I have to figure out where it goes best
on the page
Sean Vreeland
@seanvree
Mar 30 2017 03:12
hey, also, I did some depe work on the windows side, so the wiki needs to be updated a bit
you want me to just send you my edits?
got it running nately as a service in windows
Andrew Newell
@scytherswings
Mar 30 2017 03:12
Sure, or you can make a PR I think, not sure if wikis support those...
looking
Sean Vreeland
@seanvree
Mar 30 2017 03:12
gotta convert the ..sh to to .bat, then back to .exe
coo, it's easy
I can write it up in a few min
but it's working great now
Andrew Newell
@scytherswings
Mar 30 2017 03:13
Ah that's awesome
Sean Vreeland
@seanvree
Mar 30 2017 03:13
I can stop and start the service with one click just like any other service it's tope
dope*
Andrew Newell
@scytherswings
Mar 30 2017 03:13
Do you still have to add that tzdata.rb ?
Sean Vreeland
@seanvree
Mar 30 2017 03:13
yup
Andrew Newell
@scytherswings
Mar 30 2017 03:13
Damn
Sean Vreeland
@seanvree
Mar 30 2017 03:13
it's wierd
Andrew Newell
@scytherswings
Mar 30 2017 03:13
I feel like you shouldn't need to do that
but
idk why
Sean Vreeland
@seanvree
Mar 30 2017 03:14
well, that MAY just be my system
before we push it, I'll create a clean windows VM
and install it from scratch to make sure it's good
Andrew Newell
@scytherswings
Mar 30 2017 03:15
Alright. Also, I'm not sure how to update people
like
the code
remotely
Sean Vreeland
@seanvree
Mar 30 2017 03:15
huh?
Andrew Newell
@scytherswings
Mar 30 2017 03:15
There's no auto-update framework or anything
Sean Vreeland
@seanvree
Mar 30 2017 03:15
they just do a git pull?
ohhhh
Andrew Newell
@scytherswings
Mar 30 2017 03:15
Idk I haven't tested it
Sean Vreeland
@seanvree
Mar 30 2017 03:15
yeah, they would just have to do a git pull
I have
works fine
Andrew Newell
@scytherswings
Mar 30 2017 03:15
but if I change the database then it has to be migrated
Sean Vreeland
@seanvree
Mar 30 2017 03:15
that's how Iv'e been doing it
right
write that down actaully
Andrew Newell
@scytherswings
Mar 30 2017 03:15
which is separate from a git pull
Sean Vreeland
@seanvree
Mar 30 2017 03:16
well yeah, the whole serversetup.sh thing is werid to me
Andrew Newell
@scytherswings
Mar 30 2017 03:16
I wonder if there are existing scripts
Sean Vreeland
@seanvree
Mar 30 2017 03:16
I'm not sure when you have to do that after you would do a gitpull
Andrew Newell
@scytherswings
Mar 30 2017 03:16
oh haha
my script migrates the database for you
but it also deletes the database
Sean Vreeland
@seanvree
Mar 30 2017 03:16
I mean, I update all my repos using a script that runs a git pull on my local repos
Andrew Newell
@scytherswings
Mar 30 2017 03:16
which sounds really bad for existing users
Sean Vreeland
@seanvree
Mar 30 2017 03:16
yup yup
exactly
gotta look at that
Andrew Newell
@scytherswings
Mar 30 2017 03:17
Yeah, that's no good
Sean Vreeland
@seanvree
Mar 30 2017 03:17
should be easy enough to run a script from the ABOUT page to update?
Andrew Newell
@scytherswings
Mar 30 2017 03:17
Actually I can make system calls from stuff like that
so yeah I could add an update button
i'll write a ticket
Sean Vreeland
@seanvree
Mar 30 2017 03:18
also, just had an idea
about the logs
we could use a simple Iframe pop out
and then you COULD set the iframe to auto-refresh
so we would put all that php code in an iframe that would pop out?
not sure...just thinking
that would be easy
Andrew Newell
@scytherswings
Mar 30 2017 03:19
scytherswings/Plex-Board#64
yeah but what's going to run the PHP server?
You'd be running two services for one web page
more to manage
Sean Vreeland
@seanvree
Mar 30 2017 03:19
oh shit, yeah
dudh
duh
ha
that log page is running on my IIS server
Andrew Newell
@scytherswings
Mar 30 2017 03:20
haha
Sean Vreeland
@seanvree
Mar 30 2017 03:20
my bad
derp
Andrew Newell
@scytherswings
Mar 30 2017 03:21
Yeah my focus with this app is to have no external dependencies. That way you only have to open up one port in your firewall to your DMZ if it's publicly accessible.
Keep the footprint as small as I can
Sean Vreeland
@seanvree
Mar 30 2017 03:22
exactly
I like
simple, clean
Andrew Newell
@scytherswings
Mar 30 2017 03:23
Well shoot
I've run out of time
Gotta go to bed
I'll be back on tomorrow to see what I can get for the UI. I can only work on this in my free time which limits productivity, especially on weekdays ;)
Sean Vreeland
@seanvree
Mar 30 2017 03:24
wurd buddy
let me know how I can help
have a good night
Andrew Newell
@scytherswings
Mar 30 2017 03:24
If you can send me those edits for the windows setup I'll update that page
google doc or whatever
Also
if you make images or favicons
Plex-Board needs something better
I'm not a graphics artist. The rest of my family is artistically talented but that skill skipped me I think.
Idk if that's something you do but just a thought
Anyway, thanks for the feedback, see yah later!