lanceseidman / PiCAST

PiCAST turns your $35 Raspberry Pi in to a Chromecast like Device.
https://munchron.com
1.77k stars 263 forks source link

Several improvements #13

Closed Loksly closed 11 years ago

Loksly commented 11 years ago

There are some improvements:

lanceseidman commented 11 years ago

I will definitely check out what you've done. I appreciate any and all support for the project.

I see you're speaking of escaping the input, I haven't looked yet how you do it but hopefully it understands that http:// and odd character's used in URLs are accepted.

Again, haven't seen your revisions but looking forward to reviewing and trying them.

Loksly commented 11 years ago

Hi Lance,

yesterday I saw this repository and I wanted to make some contributions. I've realized your code have some errors related to the use of the database, for example the installer.sh creates a database called "picaster" (line 67) and when you use it on PHP files you select "picasts" database (line 7 from goCAST.php). Readme file also mentions "picast" database. Another issue is the insert sentence where you try to insert on "vsweb_picast" database.

Also the Items table can be easily be improved with a different schema: (ID,kind,parameter, requestedtime) fields should be enough. I guess an Item can be only of a kind: website, youtube, and so.

I don't know if you prefer to develop this project on your own. If you don't, I can pull requests so some of these bugs can be fixed.

We'll keep in touch. Have a nice day

lanceseidman commented 11 years ago

I noticed your changes and appreciate your help. I can't use unfortunately other GPL code in the project.

Thank you, I hope you'll continue to help...