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

There is no date timer for publishing content #27

Closed
defender4github opened this issue Oct 13, 2016 · 30 comments
Closed

There is no date timer for publishing content #27

defender4github opened this issue Oct 13, 2016 · 30 comments

Comments

@defender4github
Copy link

Dear,

I want to appreciate this project first. thank you for the work well done.
I observed that there is no date timer for publishing content. just like in cms when you can start the campaign and end it with respect to its contents.

can this be added?

@colloqi
Copy link
Owner

colloqi commented Oct 13, 2016

Thanks

Under Group, you can add a playlist & schedule for a duration, or on particular week days/dates or a time duration in a day. Is something else you are talking about?
screen shot 2016-10-13 at 3 12 35 pm

regards
Ravi

@defender4github
Copy link
Author

wow, this is awesome.
but I have not seen this in the local hosting server.
I have just installed it, so I am visiting it via my local ip address.

Please could you assist on how to go about it?

@navaneetharaopy
Copy link
Contributor

Hi,
Which local hosting server your referring to ?
Is it a) Open source server(port 3000) OR b) raspberry pi interface server(port 8000)?

@defender4github
Copy link
Author

raspberry port 8000

@defender4github
Copy link
Author

image

@navaneetharaopy
Copy link
Contributor

Hi,
Local player interface doesn't include this feature. For that you need to use either

  1. https://pisignage.com/lp/
    OR
  2. https://github.com/colloqi/pisignage-server

@defender4github
Copy link
Author

hi navan,
thank you for your prompt response, I had seen this link and i read the info there, but there was no HOWTO as regards raspberry being used, ubuntu and others were listed.
So i wanna know, if pi can be used as the server as well as the player?
if yes, installation procedure is highly appreciated.
thank you

@navaneetharaopy
Copy link
Contributor

Hi,
Currently the open source server depends on other tools which require processing power. Since Raspberry pi is not designed to handle such processing, Open source pisignage-server can't be hosted and it needs x86 hardware.

@defender4github
Copy link
Author

Hi,

Appreciated, creating Ubuntu server right now to handle that.

shall report back here

@navaneetharaopy
Copy link
Contributor

@defender4github
Copy link
Author

hi
I have done the installation following the link above procedures, but i am stock at starting the server.js file.
error "txxxxn@signage:~/pisignage-server$ sudo node server.js
sudo: node: command not found

help pls

but when i issue -ls command, the file is listed.

@navaneetharaopy
Copy link
Contributor

  1. Which type of system you use ? (windows,mac,linux)
  2. enter node -v in terminal, the command should return the the nodejs version.
  3. Please check env and path variable, These params should contain reference to nodejs source.
  4. How did you install nodejs?

@defender4github
Copy link
Author

ubuntu 16.04 ---linux

@navaneetharaopy
Copy link
Contributor

ok, how did you install Nodejs ?

@defender4github
Copy link
Author

working now after installing legacy version of it again
but new error when i ran "sudo node server.js"

tgn@signage:$ cd pisignage-server/
tgn@signage:
/pisignage-server$ sudo node server.js
info - socket.io started
Express server listening on port 3000 in development mode


  • Unable to create media directory, exiting     *
    

tgn@signage:~/pisignage-server$

help pls

@defender4github
Copy link
Author

oh, it is working now.

Thank you.

@navaneetharaopy
Copy link
Contributor

navaneetharaopy commented Oct 14, 2016

relative(at the same level) to pisignage-server create media folder. In order to store screenshots/thumbnails create a _thumbnails directory inside media directory.

@defender4github
Copy link
Author

ok,
done,

please can u guide on how to register my pi player on my local server?

thank u in advance

@navaneetharaopy
Copy link
Contributor

navaneetharaopy commented Oct 14, 2016

There is no registration involved. Either connecting usb keyboard(press Ctrl+n) to player OR http://< raspbery-pi-IP>:8000/settings change server to < your-server-address >:3000

@defender4github
Copy link
Author

Hi Navan,

thank you so much

@defender4github
Copy link
Author

Hi
In line with your last post, I am unable to connect to my local server pisignage with my pi player.
what is it i have not done correctly?

@navaneetharaopy
Copy link
Contributor

which step did you follow?

@defender4github
Copy link
Author

connecting usb keyboard(press Ctrl+n)

@defender4github
Copy link
Author

Is there a config file that i have to change the default 8000 port to 3000?

@navaneetharaopy
Copy link
Contributor

Press Ctrl+n and select Config server option, Change the the existing one with < your-pc-ip-address > :3000 and select ok

@colloqi
Copy link
Owner

colloqi commented Oct 14, 2016

1.8000 is local port of player which need not be changed
2.it connects to local server over port 3000, so not changes needed
3. Just make sure under player settings server address is given for e.g. as 192.168.1.10:3000 where 192.168.1.10 is the server address
4. If still not connecting, see the log file /home/pi/forever_out.log which should say why it is not connecting

@defender4github
Copy link
Author

hi,

ok

i will try it once i am back

thank you

@defender4github
Copy link
Author

hello

I have done it and it is working great.

thank you.

issue encountered
It does not start running at boot, i mean the server.js file

@navaneetharaopy
Copy link
Contributor

In ubuntu either you can enter and command in ~/.bash_profile OR ~/.bashrc OR create a service file/ init script . So that your Nodejs open source server is live when system boots.

@defender4github
Copy link
Author

thank you done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants