maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Multimedia (https://talk.maemo.org/forumdisplay.php?f=32)
-   -   Hairday - Display photos taken with N900 on XBMC (https://talk.maemo.org/showthread.php?t=85305)

ukki 2012-07-06 21:37

Hairday - Display photos taken with N900 on XBMC
 
1 Attachment(s)
Needed an app for this. Maybe someone else has use for it too. I may add some new features later (like video), but don't hold your breath. Won't probably work with AppleTV, but if someone wants to donate me one, I'm sure I can make it work too.

Requires XBMC 11 (Eden). Make sure you have bonjour/avahi installed too. Enable airplay under settings -> network. Don't setup a password.

Install attached package to your N900. Run apt-get -f install as root afterwards to install all required dependencies. Needs packages from -devel/testing, so don't install this if you are afraid of those.

EDIT: may require a reboot or manual start of avahi after install.

ukki 2012-09-23 19:07

Re: Hairday - Display photos taken with N900 on XBMC
 
Attached a new version to first post. With this version you can add your own targets to the mix so you can for example scp images to your server.

ersanpermana 2012-09-24 08:57

Re: Hairday - Display photos taken with N900 on XBMC
 
1 Attachment(s)
@ukki Can you tell me how to use it?
Prior thank you :)

ukki 2012-09-24 12:37

Re: Hairday - Display photos taken with N900 on XBMC
 
Quote:

Originally Posted by ersanpermana (Post 1271366)
@ukki Can you tell me how to use it?
Prior thank you :)

What exactly are you trying to achieve?

ersanpermana 2012-09-24 18:54

Re: Hairday - Display photos taken with N900 on XBMC
 
Quote:

Originally Posted by ukki (Post 1271430)
What exactly are you trying to achieve?

I mean how the function of this application?
:confused:

ukki 2012-09-24 19:11

Re: Hairday - Display photos taken with N900 on XBMC
 
Quote:

Originally Posted by ersanpermana (Post 1271687)
I mean how the function of this application?
:confused:

If you don't use XBMC, it's pretty useless to you. But you can make hairday run any command with the image file as a parameter so you can write your own scripts that do something with the images. Little faster than using sharing plugins.

ersanpermana 2012-09-25 04:34

Re: Hairday - Display photos taken with N900 on XBMC
 
Quote:

Originally Posted by ukki (Post 1271698)
If you don't use XBMC, it's pretty useless to you. But you can make hairday run any command with the image file as a parameter so you can write your own scripts that do something with the images. Little faster than using sharing plugins.

Can't you give me example is more understandable?
;)

ukki 2012-09-25 12:22

Re: Hairday - Display photos taken with N900 on XBMC
 
Quote:

Originally Posted by ersanpermana (Post 1271822)
Can't you give me example is more understandable?
;)

Let's say you have a script that does something to the image. It resides in /usr/bin and is called transferimg.sh. You can then add a target and set command to:
Code:

/usr/bin/transferimg.sh "$FILENAME"
and your script would be called with full path to selected image as a parameter like

Code:

/usr/bin/transferimg.sh "/home/user/MyDocs/DCIM/20120925_1.jpg"
Or you could use it to scp the chosen images to a computer that has ssh with something like:

Code:

scp "$FILENAME" ersanpermana@computer.local:/path/to/your/chosen/dir
You need to setup ssh keys though so you don't have to enter password etc.

ersanpermana 2012-09-26 10:07

Re: Hairday - Display photos taken with N900 on XBMC
 
Ok I will try it before
many thanks :cool:

Android_808 2012-10-02 18:52

Re: Hairday - Display photos taken with N900 on XBMC
 
This would be great if was extended to support http://en.wikipedia.org/wiki/Wi-Fi_Direct so it worked with more devices.


All times are GMT. The time now is 22:48.

vBulletin® Version 3.8.8