CS Department TV system An application that can be hosted on a raspberry pi and connected to a television in order to display information about upcoming events. Has an accompanying website that allows submissions and management of submissions. By default submissions are put on hold until they are accepted. After they are accepted, they can be displayed.
- Install java jdk
- Download this repository (either through git clone or some other method)
- Ideally load this repository with the Netbeans Spring plugin
- Install
xscreensaver
and start it in the background - Compile and run spring application with Maven's
spring-boot run
goal Alt-f4
the gui windows if you do not need it- For people to submit it, go on localhost:8080/
- (/) main page where information and rules about uploading files are displayed.
- (/upload) location where media and information about media can be sent to be reviewed.
- (/adminPanel) location where media is sent to be reviewed. Pressing Accept allows it to be displayed onto the screen. Pressing deny rejects it. No user validation is done, so anyone can use these methods.
- If there are no submissions to be approved, /adminPanel displays error.
- The screensavers might not stop playing, still investigating error
- If media.bf (in src/main/resources/storage) and data.json are misaligned, then some issues with adminpanel. This hasn't been encountered during testing but did occur when manually messed with, issues do happen.
- There is no log in to admin so anyone can approve posts.
- Many websites do not redirect properly and instead show redirect:/{page}.
- Is not set up to go on any port, so only works on localhost:8080 as of now. This means that effectively, only the device owner can upload things onto it.