atmosx
Posts: 24
Joined: Mon Aug 06, 2012 1:36 pm
Location: Greece

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Sat Dec 29, 2012 12:28 pm

iain1940 wrote:This is a very noobie request from someone who ought to know the answer.
I have installed screenly and hope to use it for an information system at my golf club.
I have got web pages displayed fine but am at a loss on the url format needed to display images.

Ideally I would like to hold images (and web pages?) locally on the rpi either on the sd card or on a memory stick.

A simple 'examples' section on the home page would be a help.

Sorry to post such an elementary question but Screenly is such a great system for easily and cheaply displaying information I have to get it working .

Iain
As of "today" there's is only a spin-off version of 'screenly' (search above) that support "catching" (meaning saving content locally).

The format I use in images is "JPG". You need "MP4" for videos and whatever (flash apart? no idea) for web content.

The easiest way to use images is to use a dropbox (or similar service) account. By putting an image to the Dropbox Public folder and right-clicking on a mac, you get a "public link". Just paste the link in your screenly "add asset" menu and you're all set :-)

iain1940
Posts: 16
Joined: Sat Dec 22, 2012 8:53 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Sat Dec 29, 2012 10:03 pm

Thanks for your help
The format I use in images is "JPG". You need "MP4" for videos and whatever (flash apart? no idea) for web content.

The easiest way to use images is to use a dropbox (or similar service) account. By putting an image to the Dropbox Public folder and right-clicking on a mac, you get a "public link". Just paste the link in your screenly "add asset" menu and you're all set
My main problem was not realising that you could access a .jpg in the same way as a website -
"http://domainname.xx./folder/imagename.jpg". By using my own website to store images this seems to work OK . That should solve most of the immediate problems.

With regards to dropbox I have created an account and copied a few photos to it.
I goto the website and create a link eg

https://www.dropbox.com/s/flikxxxxaz3e/DSCF6851x.jpg

(I am on Debian Linux - but by clicking 'share link','get link' I get the url copied to the clipboard.)

if I try to submit a new asset and enter this link as the URL I get an error ::

Code: Select all

Error: 500 Internal Server Error
Sorry, the requested URL 'http://192.168.0.9:8080/process_asset' caused an error:
Internal Server Error
the URL 'http://192.168.0.9:8080/process_asset'  is the link to the raspberry !

I'm not sure where to look for the solution - there doesn't appear to be any relevent log file.

Iain

Mozzo
Posts: 3
Joined: Sun Dec 30, 2012 11:21 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Mon Dec 31, 2012 3:19 am

Hello from Australia
Firstly thankyou for inventing screenly. I have the git version installed and running quite successfully here. in order towork entirely with local hosted content Ive set mine up with Light http and vsftpd so that i can upload files to the Pi and point screenly at them. This works well enough but is a bit laborious to manage. I am considdering learning a bit of python skills and tweaking screenlys managemnt console to allow uploading assets directly.Has anyone else done this?

The other thing screenly really needs is the ability to control the screen or projector via usb-serial and a special schedule type for start of day/end of day to turn the device on and off. Does anyone know of some code that can do this?

regards
Ray

Mozzo
Posts: 3
Joined: Sun Dec 30, 2012 11:21 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Mon Dec 31, 2012 7:42 am

Mozzo wrote:
The other thing screenly really needs is the ability to control the screen or projector via usb-serial and a special schedule type for start of day/end of day to turn the device on and off. Does anyone know of some code that can do this?
Answered my own question in part.

this sourceforge project http://sourceforge.net/projects/pronetm ... ecommended is designed to control projectors. written in Python it is a good starting point.

Axel-b2
Posts: 21
Joined: Fri Oct 19, 2012 6:35 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Tue Jan 01, 2013 7:35 pm

Mozzo wrote:
Mozzo wrote:
The other thing screenly really needs is the ability to control the screen or projector via usb-serial and a special schedule type for start of day/end of day to turn the device on and off. Does anyone know of some code that can do this?
Answered my own question in part.

this sourceforge project http://sourceforge.net/projects/pronetm ... ecommended is designed to control projectors. written in Python it is a good starting point.
Don't know whether the following helps: I use cron to switch off the display during off-hours, as explained here:
https://github.com/wireload/screenly-ose/issues/26

Cron is a standard 'service' available on unix (linux), for scheduling tasks. To read more about cron, see e.g. here (first link that google found for me):
http://kvz.io/blog/2007/07/29/schedule- ... g-crontab/

iain1940
Posts: 16
Joined: Sat Dec 22, 2012 8:53 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Wed Jan 02, 2013 5:45 pm

re: displaying images
With regards to dropbox I have created an account and copied a few photos to it.
I goto the website and create a link eg

https://www.dropbox.com/s/flikxxxxaz3e/DSCF6851x.jpg
(I am on Debian Linux - but by clicking 'share link','get link' I get the url copied to the clipboard.)
if I try to submit a new asset and enter this link as the URL I get an error ::
<<Error: 500 Internal Server Error
Sorry, the requested URL 'http://192.168.0.9:8080/process_asset' caused an error:
Internal Server Error>>

the URL 'http://192.168.0.9:8080/process_asset' is the link to the raspberry !
I'm not sure where to look for the solution - there doesn't appear to be any relevent log file.
after a bit of trial and error and trawling the internet I've found :
a. the direct link copied from the Dropbox website (https://www.dropbox.com/****.jpg) can be pasted as a 'website' asset not an 'image'
(but it then displays the Dropbox page headings and controls)
b. if one replaces the 'www' by 'dl' (https://dl.dro..****.jpg ) it then can be pasted as an 'image' without the heading stuff.

I probably should have known that but I didn't.
Anyhow Screenly now does everything I need it to (at the moment ;) )

Mozzo
Posts: 3
Joined: Sun Dec 30, 2012 11:21 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Sun Jan 06, 2013 2:13 am

Axel-b2 wrote:
Don't know whether the following helps: I use cron to switch off the display during off-hours, as explained here:
https://github.com/wireload/screenly-ose/issues/26

Cron is a standard 'service' available on unix (linux), for scheduling tasks. To read more about cron, see e.g. here (first link that google found for me):
http://kvz.io/blog/2007/07/29/schedule- ... g-crontab/
Hi Axel-b2,

Ive been using Linux for a few years, and do indeed use cron for many things.
The problem with your approach, is that firstly it is a solution reserved for geeks such as us. I cant expect the average user who cant cope with anything more that a webpage to use SSH and set up cron entries.

The second problem is that this only works with HDMI, many of my installations will be interfacing with existing projectors and displays via a HDMI to VGA converter or similar. The serial commands are the only way in many of these cases.

I will take the tip and use the HDMI cron approach for a few on the new ones with HDMI thoug as its at least a start and can kickoff my deployment.

Cheers
Ray

intoinside
Posts: 4
Joined: Sun Jan 06, 2013 2:17 pm
Location: Pordenone, Italy

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Sun Jan 06, 2013 2:18 pm

Maybe i'm asking a dumb question.... but how to remove/uninstall Screenly?

Patfeesh
Posts: 7
Joined: Thu Dec 06, 2012 11:47 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Mon Jan 07, 2013 12:27 am

Hi all,

First off thanks for this, it is an excellent piece of software. My only suggestion would be to add a batch asset feature to add and schedule an entire folder for example.

I've got everything up and running nicely with an image slideshow (stored on dropbox) but I am getting a roughly 1 second delay between each slide. This isnt a world ending issue but is quite annoying, is there any way to eliminate this delay?

The images are all roughly 500kb and i'm on a 100mb fibre connection so I doubt its an internet issue.

Any help much appreciated!

oceanwanderlust
Posts: 3
Joined: Tue Jan 08, 2013 5:55 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Tue Jan 08, 2013 6:15 pm

I'm trying to get the local-assets branch, but do not see an additional option under Resource Type when I Add asset.

My original installation used the tutorial:
git clone git://github.com/wireload/screenly-ose.git ~/screenly

Then I tried Axel's instructions on page 8 of this thread:
git clone https://github.com/axel-b/screenly-ose.git -b allow-local-assets screenly-ose

It seems confusing that I got screenly and screenly-ose directories. I've run the installation.sh from either of them, and deleted both of them following only Axel's checkout instructions, but I can never get a Local option under Add asset -> Resource Type. What might I be doing wrong?
thanks

joe

Axel-b2
Posts: 21
Joined: Fri Oct 19, 2012 6:35 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Wed Jan 09, 2013 12:40 am

@Joe: the patch does not add a new option in the menu. All it does (in my memory, it is a while ago that I looked at it, and I don't use it myself) is allow you to fill the URL field with a local file name (that starts with a / ), i.e. something like:

Code: Select all

/path/to/local/file/with/image.jpg
Sorry for the confusion regarding checking out the branch.
For checking out other branches it might be best to use the approach that nikize wrote in http://www.raspberrypi.org/phpBB3/viewt ... 37#p229137 (where you of course should adjust the branch name and/or repository as appropriate for the branch/repository that you want to check out).
Note that, because a checkout replaces files in your ~/screenly directory by those from the branch you check out, when you already have a screenly playlist, you probably want to be careful with branches in which the database 'schema' has been changed (i.e. where fields have been added and/or deleted).

oceanwanderlust
Posts: 3
Joined: Tue Jan 08, 2013 5:55 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Wed Jan 09, 2013 5:07 pm

I'm using /home/pi/test3.html as the URL and the type is Website, but Screenly resets when it gets to this page:

Wed, 09 Jan 2013 16:48:09 show asset Weather .GOV
Wed, 09 Jan 2013 16:48:50 show asset test3
Wed, 09 Jan 2013 16:48:53 Loading browser...
Wed, 09 Jan 2013 16:48:53 Browser loaded. Running as PID 22635.
Wed, 09 Jan 2013 16:49:54 Generating asset-list...
Wed, 09 Jan 2013 16:49:54 show asset Baldy

I tried increasing the log level, but can't seem to stop/kill screenly long enough to modify viewer.py

thanks for the help!
joe

Patfeesh
Posts: 7
Joined: Thu Dec 06, 2012 11:47 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Wed Jan 09, 2013 5:15 pm

If you SSH or SFTP into the pi and either login as root or use the sudo command you should be able to edit anything

prasadcg
Posts: 3
Joined: Fri Jan 11, 2013 2:02 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Fri Jan 11, 2013 2:27 pm

I got screenly OSE working excellently. No issues at all. I could display images (1920x1080), web pages (limited to uzbl ) and mp4 video via my nginx web server. Ideally if we need to use it as an EFFECTIVE digital signage product, then it must have a ticker/SCROLL text feature. This can be accomplished thru a web page , of course. So that we can have an image on the top part and a scroller/ticker below. But it would be much much better if this happens with a VIDEO too. I mean, a video being played and a ticker/scroll text below. That would be the ideal low cost yet efficient Digital Signage solution. Hope the developers understand this very basic requirement from a customers perspective. Neverthless, screenly is a wonderful piece of work. Regards

Hoppsan_84
Posts: 1
Joined: Mon Nov 26, 2012 8:48 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Fri Jan 11, 2013 5:48 pm

oceanwanderlust wrote:I'm trying to get the local-assets branch, but do not see an additional option under Resource Type when I Add asset.

My original installation used the tutorial:
git clone git://github.com/wireload/screenly-ose.git ~/screenly

Then I tried Axel's instructions on page 8 of this thread:
git clone https://github.com/axel-b/screenly-ose.git -b allow-local-assets screenly-ose

It seems confusing that I got screenly and screenly-ose directories. I've run the installation.sh from either of them, and deleted both of them following only Axel's checkout instructions, but I can never get a Local option under Add asset -> Resource Type. What might I be doing wrong?
thanks

joe
Hi

I've had the same problem as you.
I use the following.

* cd ~
* sudo apt-get update
* sudo apt-get-y install git-core
* git clone git :/ / github.com / shoulder b / screenly-ose.git ~ / screenly
* ~ / screenly / misc / install.sh
* cd ~ / screenly
* git pull git :/ / github.com / shoulder b / screenly-ose.git allow-local-assets

If you need to use Axel's git at installation I do not know but I do it anyway.

Good luck

stevemac555
Posts: 2
Joined: Fri Jan 11, 2013 10:10 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Sat Jan 12, 2013 9:27 pm

Just a quick question...

Will Screenly OSE crossfade between different pages e.g. would I be able to fade the screen between a web page and a HD video?

Thanks

Patfeesh
Posts: 7
Joined: Thu Dec 06, 2012 11:47 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Mon Jan 14, 2013 11:34 am

Any insight on the delay between images in a slideshow (its a standard half a second for me). Is this a setting to be changed or the program fetching the next image (in which case perhaps add a second fetching mechanism for smoother slideshows?)

thanks for any responses

mrpaulmanley
Posts: 2
Joined: Mon Dec 10, 2012 8:34 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Mon Jan 14, 2013 4:50 pm

Patfeesh wrote:Any insight on the delay between images in a slideshow (its a standard half a second for me). Is this a setting to be changed or the program fetching the next image (in which case perhaps add a second fetching mechanism for smoother slideshows?)

thanks for any responses
In viewer.py look at 'def view_image' 'def view_video' and 'def view_web'. I'll go over 'dev view_image' as an example

Code: Select all

def view_image(image, name, duration):
    logging.debug('Displaying image %s for %s seconds.' % (image, duration))
    url = html_templates.image_page(image, name)
    f = open(fifo, 'a')
    f.write('set uri = %s\n' % url)
    f.close()
    
    sleep(int(duration))
    
    f = open(fifo, 'a')
    f.write('set uri = %s\n' % black_page)
    f.close() 
This part sets a black page that will remain until the next item in the playlist is initiated.

Code: Select all

f = open(fifo, 'a')
f.write('set uri = %s\n' % black_page)
f.close() 
I think you could remove those three lines from 'def view_image' 'def view_video' and 'def view_web' and that would get rid of the black screen between assets.

Axel-b2
Posts: 21
Joined: Fri Oct 19, 2012 6:35 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Mon Jan 14, 2013 10:31 pm

stevemac555 wrote:Will Screenly OSE crossfade between different pages e.g. would I be able to fade the screen between a web page and a HD video?
Whether it will crossfade I don't know; currently, as far as I know, no version of screenly does crossfade.

My fading variant does not crossfade between web pages or between web page and video, but (cross)fades between web pages/images and some solid color (typically black or white, but could be anything else), i.e. it fades from web page to white to next web-page (my web pages have white background, so that fits best, I thought). For transition to video, it fades the web page to black, and then starts the video, and once the end of the video is reached, it fades from black to the next web page (for videos that are not full screen, the background is black, hence the fading to/from black in this case).

Patfeesh
Posts: 7
Joined: Thu Dec 06, 2012 11:47 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Thu Jan 17, 2013 1:18 am

Thanks mrpaulmanley, I'll try that out tomorrow and post you know the outcome

atmosx
Posts: 24
Joined: Mon Aug 06, 2012 1:36 pm
Location: Greece

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Sun Jan 20, 2013 1:37 pm

prasadcg wrote:I got screenly OSE working excellently. No issues at all. I could display images (1920x1080), web pages (limited to uzbl ) and mp4 video via my nginx web server. Ideally if we need to use it as an EFFECTIVE digital signage product, then it must have a ticker/SCROLL text feature. This can be accomplished thru a web page , of course. So that we can have an image on the top part and a scroller/ticker below. But it would be much much better if this happens with a VIDEO too. I mean, a video being played and a ticker/scroll text below. That would be the ideal low cost yet efficient Digital Signage solution. Hope the developers understand this very basic requirement from a customers perspective. Neverthless, screenly is a wonderful piece of work. Regards
Not sure you realize this is an open source software, so quotes like: Hope the developers understand this very basic requirement from a customers perspective don't really mean anything. I'm sure they will realize anything you want, if you pay them to do so.

vpetersson
Posts: 395
Joined: Wed Jul 25, 2012 9:23 am
Contact: Website

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Tue Jan 22, 2013 3:30 pm

Hey guys,

Just wanted to let you know that big changes are coming to Screenly.

We've now allocated one of our developers to improve the user interface of Screenly OSE. It will be a significant update and add a lot of things that have been missing in the beta. We've already started to push some code to a separate branch ('screenly-ui'), and are hoping to merge that into the main branch in the next week or two.

Also, we've now finally launched an official website for Screenly: http://ScreenlyApp.com
In addition to information about Screenly, you'll also find a live-demo of Screenly OSE.
Creator of Screenly (Screenly.io), the leading digital signage solution for the Raspberry Pi. Now hacking on WoTT (github.com/WoTTsecurity/agent),
Twitter: @vpetersson | vpetersson.com

AndyV
Posts: 1
Joined: Wed Jan 23, 2013 2:37 pm

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Wed Jan 23, 2013 2:53 pm

Hi VP, can I just say thanks for making your software available and open source. I have had one display running for over two months now and have set-up my second today.

Thanks

Andy

mrkarter77
Posts: 2
Joined: Thu Jan 24, 2013 3:34 am

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Thu Jan 24, 2013 3:36 am

Hey
Is it possible (i dont have a pi with me) to add images to the folders that the webserver is run from? so you could add an image source such as http://192.168.3.14:8080/images/image1.jpg

where the rpi address is 192.168.3.14 ?

vpetersson
Posts: 395
Joined: Wed Jul 25, 2012 9:23 am
Contact: Website

Re: Screenly OSE -- Digital Signage for the Raspberry Pi

Thu Jan 24, 2013 12:35 pm

AndyV wrote:Hi VP, can I just say thanks for making your software available and open source. I have had one display running for over two months now and have set-up my second today.

Thanks

Andy
Thanks Andy! I think you'll be even more excited when the new face lift is done.
Creator of Screenly (Screenly.io), the leading digital signage solution for the Raspberry Pi. Now hacking on WoTT (github.com/WoTTsecurity/agent),
Twitter: @vpetersson | vpetersson.com

Return to “Other projects”