Comments (18)
You could and just type "sudo rm -rf /var/www/picast" OR just edit the installer and comment everything BUT the MySQL part and re-run the script.
But what you see is technically OK. Because if you type http://localhost/picast in any browser, should show everything, right? If yes, should be good to go...
from picast.
For a safer option, use sudo mv /var/www/picast /var/www/picast.orig
,
just in case there's anything in /var/www/picast you don't want deleted/
On Thu, Aug 8, 2013 at 10:55 AM, lanceseidman [email protected]:
You could and just type "sudo rm -rf /var/www/picast" OR just edit the
installer and comment everything BUT the MySQL part and re-run the script.But what you see is technically OK. Because if you type
http://localhost/picast in any browser, should show everything, right? If
yes, should be good to go...—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-22310761
.
from picast.
thanks for the reply. I will try as suggested and come back.
On Aug 8, 2013 9:00 PM, "Ben Fox-Moore" [email protected] wrote:
For a safer option, use
sudo mv /var/www/picast /var/www/picast.orig
,
just in case there's anything in /var/www/picast you don't want deleted/On Thu, Aug 8, 2013 at 10:55 AM, lanceseidman [email protected]:
You could and just type "sudo rm -rf /var/www/picast" OR just edit the
installer and comment everything BUT the MySQL part and re-run the
script.But what you see is technically OK. Because if you type
http://localhost/picast in any browser, should show everything, right?
If
yes, should be good to go...—
Reply to this email directly or view it on GitHub<
https://github.com/lanceseidman/PiCAST/issues/8#issuecomment-22310761>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-22310974
.
from picast.
when I go localhost/PiCAST ... I get to see the files as show in
attachment.
On Aug 8, 2013 9:04 PM, "Balaji VP" [email protected] wrote:
thanks for the reply. I will try as suggested and come back.
On Aug 8, 2013 9:00 PM, "Ben Fox-Moore" [email protected] wrote:For a safer option, use
sudo mv /var/www/picast /var/www/picast.orig
,
just in case there's anything in /var/www/picast you don't want deleted/On Thu, Aug 8, 2013 at 10:55 AM, lanceseidman [email protected]:
You could and just type "sudo rm -rf /var/www/picast" OR just edit the
installer and comment everything BUT the MySQL part and re-run the
script.But what you see is technically OK. Because if you type
http://localhost/picast in any browser, should show everything, right?
If
yes, should be good to go...—
Reply to this email directly or view it on GitHub<
https://github.com/lanceseidman/PiCAST/issues/8#issuecomment-22310761>
.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/8#issuecomment-22310974
.
from picast.
Ok, now run the API for the goCAST (see readme) for either task. Once you press enter nothing will appear. How to make sure it worked? Open grabCAST and should display.
Doesn't Display? It may be MySQL connection itself, I don't have a way at the moment to check but I think the password is incorrect in both PHP files (not updated since the new Installer).
from picast.
As for deleting /var/www/picast it wont matter what command you use, no settings are stored and re-running the script would redo the setup.
Next revision of the script will check if the DIR exists and eventually check file sizes and/or compare files OR we ask the user what to do (e.g. Backup). But that part isn't too important yet, making sure it actually installs first for everyone THEN be picky:D
from picast.
Really appreciate @lanceseidman @InfernoZeus for helping how. Hope fully I am very close to see the result.
- On the Pi - open Midori and type the http://localhost/Picast
- I ran the watch -n 10 ./grabber.sh on the /var/www folder
which gives me like this
Error ./grabber.sh: 12: ./grabber.sh: usage:: not found.
- I took my mobile and from the crhome browser, typed http://localhost/goCAST.php?website=google.com .. see nothing on the Pi due to the number 1 (i think).
from picast.
Hi, please look at the path you're running. /var/www is incorrect, it needs to be /var/www/picast.
OR
sudo mv /var/www/picast/grabber.sh /home/pi/grabber.sh
from picast.
Hi @lanceseidman I will check it out tonight
from picast.
I have moved the grabber.sh to the /home/pi,
watch -n 3 ./grabber.sh
Every 3.0s: ./grabber.sh Fri Aug 9 10:21:00 2013
./grabber.sh: 12: ./grabber.sh: Usage:: not found
from picast.
Please download the new Grabber file.
from picast.
sorry @lanceseidman I have downloaded the new grabber file. I can see what when I type -n 3 ./grabber.sh
I see the following
ry 2.0s: ./grabber.sh Sun Aug 11 08:02:21 2013
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
After this I go on my android mobile type the IP address of PI(http://192.168.1.108/goGrab.php?website=google.com), I get blank page on the mobile and nothing on the PI.
I can confirm the setup is done correctly?
from picast.
Hi the problem is still in the address, it needs to be http://192.168.1.108/PiCAST/goCAST.php?website=site.ext.
The file directory and file name are extremely CaSe-SeNsitIVe. GoGRAB loading it by default will be blank, you must run goCAST with the commands. You'll never try to manually load the goGRAB as that's what the grabber file does.
Also, the moment goGRAB is requested (doesn't matter how) it grabs what you sent & deletes it, so keep that in mind.
To remember, look at the names. GRAB means to capture/get & CAST means to send.
from picast.
Thanks Lance. I am pretty sure I tried both with and without PiCAST folder name ( http://192.168.1.108/PiCAST/goCAST.php?website=google.com) Didn't see any difference. I will give it another try later today.
from picast.
Hi Balaji,
I got to this to work on my PI. Midori takes up 100% CPU and runs so slow that it is practically unusable for me. I had to make few changes to checked out version because of the "PiCAST" folder name. In addition to the above, you would also need to make an edit in grabCAST.php. The generated URL to the midori browser also need to have the "PiCAST" folder in the URL path.
I also had to fix minor inconsistency in the database name (in the PHP scripts vs installation code/docs).
I suggest looking at the apache error log for any potential mysql errors as well.
from picast.
One more thing. There is a typo in youtube.php
"src" attribute has an extra quote:
src="http://youtube.com/embed/?enablejsapi=1&
autoplay=1&autohide=1&controls=0&iv_load_policy=3&modestbranding=1&theme=dark&html5=1"
It should be:
src="http://youtube.com/embed/?enablejsapi=1&
autoplay=1&autohide=1&controls=0&iv_load_policy=3&modestbranding=1&theme=dark&html5=1"
from picast.
I want to download picast 2.0 where can I downlode the files ?
from picast.
In the picast2 branch: https://github.com/lanceseidman/PiCAST/tree/picast2
from picast.
Related Issues (20)
- Android device as chromecast? HOT 1
- Does it work on Cubietruck? HOT 1
- nodejs install wheezy HOT 1
- Project status HOT 2
- PiCast doesnt start HOT 9
- sh setup.sh --> setup.sh: 8: setup.sh: Syntax error: newline unexpected HOT 2
- pi3 HOT 1
- Faster compile for newer Pis and wrappers around exit codes HOT 1
- Some unauthenticated packages failed to install; should use --force-yes? HOT 1
- Will this work on a Pi Zero?
- Black and white lines on mplayer HOT 1
- Uninstall PiCAST HOT 2
- Optional `sudo apt-get upgrade` HOT 2
- License HOT 2
- Is this project dead? HOT 1
- PiCAST installs and runs but doesn't listen to anything HOT 2
- Oculus Quest 2 Casting... is there something here? HOT 1
- RCE in /yt-stream route
- sh picast_start.sh HOT 1
- removal
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from picast.