Forum
  • Search
  • Member List
  • Calendar
Hello There, Guest! Login Register — Login with Facebook

Mail client ideas, thinking outside the box
Thank you for your donation

Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Threaded Mode | Linear Mode
Mail client ideas, thinking outside the box
16th Mar, 2014, 11:42 AM
Post: #2
mk01 Offline
Registered
Posts: 2,485
Joined: Mar 2013
Reputation: 209
RE: Mail client ideas, thinking outside the box
@Warren

using email as trigger would work, but is too much to configure/maintain/run for only trigger delivery. most SS or CAMs provide also simpler ways. as for instance simple http query to run, or put custom file on to shared storage. or just to ping -> touch remote ip and port combination!

any of this has all the benefits over email xchange

can be provided as event based system -> so no interval polls,
doesn't require special daemon installs and messy configs (and digging in case of failures)
is not dependent on any other "entity" in the flow
is much less demanding on system resources (can be managed with one instance of bash in memory)

recheck the SS/Cam and report back.

but in general the "system" infrastructure is already present in XBian base install. system already now has listener -

event bridge between XBMC and upstart job control (EventServer connector running with XBMC running) .
system already can run/trigger any function/trigger inside XBMC from base system (eventclient "command" provided by default -> connecting to locally started xbmc)
and of course back to Upstart which by default manages only XBian startup / shutdown - but it was developed exactly to serve your kind of purpose. we just need to tell it what to do and when to do it. Wink

(finally a "fresh" and "distinct" requirement Smile )

and to your aplay vs mpg123 problem.

"ffmpeg" tool can be used for pipe - pipe transcoding online. so you can pipe mp3 via ffmpeg to aplay Smile

like this:
Code:
root@xbcubox:/dev/snd# cat /usr/local/share/xbmc/addons/skin.confluence/sounds/cursor.wav | aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
sysdefault:CARD=imxspdif
    imx-spdif,
    Default Audio Device
sysdefault:CARD=imxhdmisoc
    imx-hdmi-soc,
    Default Audio Device
root@xbcubox:/dev/snd# cat /usr/local/share/xbmc/addons/skin.confluence/sounds/cursor.wav | aplay -Dsysdefault:imxhdmisoc
Playing WAVE 'stdin' : Unsigned 8 bit, Rate 22050 Hz, Stereo

done

what you do is just put ffmpeg between "cat file.mp3 and aplay". done. with no effort.

mk

Please read rules and do a search before you post! . FAQs . How to post log file? . Looking for answers? Please start here
Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Messages In This Thread
Mail client ideas, thinking outside the box - Warren Morgan - 16th Mar, 2014, 10:25 AM
RE: Mail client ideas, thinking outside the box - mk01 - 16th Mar, 2014 11:42 AM
RE: Mail client ideas, thinking outside the box - Warren Morgan - 16th Mar, 2014, 06:36 PM
RE: Mail client ideas, thinking outside the box - mk01 - 16th Mar, 2014, 07:16 PM
RE: Mail client ideas, thinking outside the box - Warren Morgan - 16th Mar, 2014, 08:07 PM
RE: Mail client ideas, thinking outside the box - mk01 - 16th Mar, 2014, 08:19 PM

  • View a Printable Version
  • Send this Thread to a Friend
  • Subscribe to this thread
Forum Jump:

Current time: 11th Jun, 2025, 09:10 PM Powered By MyBB, © 2002-2025 MyBB Group.