Version 442 posted

5 views
Skip to first unread message

rsquared256

unread,
Jun 23, 2011, 2:49:48 AM6/23/11
to EckoIt
Hey all.

Just finished a big round of changes. Here is a link to look at:

http://ecko-it.iriscouch.com/test/_design/app/dashboard.html

1. Navigation links a cleaned up. I removed all the spaces cruft. Way
too confusing for new people.
2. No more 'Active Tasks Permission' error. That was annoying.
3. As requested, a way to upload audio!!!

To try the audio upload, select topics, and click the 'Tray' button.
This will launch the ecko-it desktop tray. Click on the tray and
select, upload audio. You will get a dialog prompting for the
directory, and the format (as discussed in the other post). Uploading
it will put it into ecko-it. For now you will have to go back to the
timeline view and go to the date and time of the audio to hear it, and
begin to tag it.

Note, this will upload the audio to this test db that everyone can
see. If you want to try it locally, please replicate this db to your
local couch. Please let me know if you do not know how to do that. It
takes a few seconds. You will follow the exact steps above and it will
all be for your private eyes.

Ryan.



Matthew Woodward

unread,
Jun 23, 2011, 2:55:20 AM6/23/11
to eck...@googlegroups.com
VERY nice. I'll give this all a shot tomorrow--I'm at the Open Source Bridge conference and have been recording a lot of sessions so I'm anxious to throw some audio into the app and see what happens!
--
Matthew Woodward
ma...@mattwoodward.com
http://blog.mattwoodward.com
identi.ca / Twitter: @mpwoodward

Please do not send me proprietary file formats such as Word, PowerPoint, etc. as attachments.
http://www.gnu.org/philosophy/no-word-attachments.html

Cameron Bayly

unread,
Jun 23, 2011, 3:04:45 AM6/23/11
to eck...@googlegroups.com
The intro is great and the badges are a nice touch. Will take a better look when I get a chance.
--
Cameron Bayly

Ryan Ramage

unread,
Jun 23, 2011, 2:28:11 PM6/23/11
to eck...@googlegroups.com

VERY nice. I'll give this all a shot tomorrow--I'm at the Open Source Bridge conference

Lucky...looks like a great event. 

 
and have been recording a lot of sessions so I'm anxious to throw some audio into the app and see what happens!

Great. Let me know how you get on with it.  

Wordit

unread,
Jun 23, 2011, 7:55:49 PM6/23/11
to eck...@googlegroups.com
Ryan,

a few questions:

> To try the audio upload, select topics, and click the 'Tray' button.
> This will launch the ecko-it desktop tray. Click on the tray and
> select, upload audio.

Couldn't there be a pure web-based uploader? CouchDB's Futon let's you
upload attachments, right? I'm thinking of when you don't have the
full desktop version around (or from other platforms)


> If you want to try it locally, please replicate this db to your local couch. Please let me know if you do not know how to do that.


Again considering it as a web app. Can I replicate to another
iriscouch instance?


Marcus

Wordit

unread,
Jun 23, 2011, 8:26:25 PM6/23/11
to eck...@googlegroups.com
Okay, I managed replication to my own iriscouch instance. Since I can
add the audio as an attachment in Eckoit (web only) I must be able to
place the file where the timeline wants it, shouldn't I?

Is this format okay: test_recording_2011-06-23-09:05:00.mp3 or is only
the date allowed?

Marcus

Ryan Ramage

unread,
Jun 23, 2011, 8:33:12 PM6/23/11
to eck...@googlegroups.com

Couldn't there be a pure web-based uploader? CouchDB's Futon let's you
upload attachments, right? I'm thinking of when you don't have the
full desktop version around (or from other platforms)

I have really tried to move to a purely web based approach for most things. 

The tray exists for other reasons which are:
1. The usb/filesystem to the liferecorder
2. Recording audio/converting audio
3. Speaker diarization (more on that later)

All of these could not be achieved by couch alone.

For a simple file upload, most utils today use some flash, which violates the web only principle. Since I had most of the code available for this uploader, it was pretty easy this way. And it will support other features in the future. 

 
Again considering it as a web app. Can I replicate to another
iriscouch instance?


Yup of course which you have already found out. The nice bit about the webstart thing is that the full tray app relicates as well, and will update if you continously replicate from the master.  



--
Twitter: @eckoit
http://eckoit.com - Keep what you hear.
http://opendoorstories.com  - Create Experiences

Ryan Ramage

unread,
Jun 23, 2011, 8:37:05 PM6/23/11
to eck...@googlegroups.com

Okay, I managed replication to my own iriscouch instance. Since I can
add the audio as an attachment in Eckoit (web only) I must be able to
place the file where the timeline wants it, shouldn't I?


The audio needs to be in a special document. I could look at adding a way to read it from the attachment section. But that was not what it was intended for (originally)
 
Is this format okay: test_recording_2011-06-23-09:05:00.mp3 or is only
the date allowed?


As per your other email, I stuck with the YYYY-MM-DD-HH:MM:SS.ext format. Again, at upload time would be the best time to have the user specify the timestamp format. 


Just give me some time to think of an approach that might work for you. 

Ryan Ramage

unread,
Jun 23, 2011, 8:49:36 PM6/23/11
to eck...@googlegroups.com

add the audio as an attachment in Eckoit (web only) I must be able to


Can you run the tray app? Just for now at least? or are you having a problem launching it? 
 

Wordit

unread,
Jun 23, 2011, 9:06:46 PM6/23/11
to eck...@googlegroups.com
On Fri, Jun 24, 2011 at 2:49 AM, Ryan Ramage <ryan....@gmail.com> wrote:
>
> Can you run the tray app? Just for now at least? or are you having a problem
> launching it?

I haven't tried the uploader, I'm running Linux. I'll try it next time
I boot into Windows.

I do have a test file with the voice-over I commissioned. The person
who recorded it, tried 3-4 different ways for each take. It would be
useful if Eckoit let's me tag the takes I want to use and jump to
those. I'm thinking of a way to help with editing.


Marcus

Ryan Ramage

unread,
Jun 23, 2011, 9:13:59 PM6/23/11
to eck...@googlegroups.com
The webstart version should run with linux...you have java installed right?  what distro and windows manager? 

Matthew Woodward

unread,
Jun 23, 2011, 9:22:30 PM6/23/11
to eck...@googlegroups.com
I'm going to try this tonight on Linux Mint so I'll let everyone know how it goes.

Wordit

unread,
Jun 23, 2011, 9:51:51 PM6/23/11
to eck...@googlegroups.com
webstart version? Is that a java runtime or Eckoit version? (webstart
was something Java-ish wasn't it?).

I generally grab Sun's JRE and run it from my home directory. Does
Eckoit need any Java environment variables setting?

I run Puppy Linux which can use many Ubuntu packages, but the
environment is not always compatible since Puppy is only 100 MB. Uses
GTK+, no KDE. Window Managers are Openbox and JWM. You can use IceWM
and others if need be.


Marcus

Ryan Ramage

unread,
Jun 23, 2011, 10:33:47 PM6/23/11
to eck...@googlegroups.com
K, I have just tested it on an old ubuntu/firefox 3.5. Clicking on the link it asked if I wanted to open the file with the default application, which was java. And it launched. Just make sure it is a java 1.6. If you have a jre in your home directory, you can 

1. download the file (webstart.jnlp) and run javaws webstart.jnlp
2. or get the browser to associate .jnlp files with the javaws executable.

And btw, it Ecko-It looked bad in FF 3.5. Please accept my apologies if you have an older FF. 

Ryan 

Wordit

unread,
Jun 24, 2011, 9:11:13 AM6/24/11
to eck...@googlegroups.com
Audio is not playing from the timeline for me. It plays fine from
topics. I can listen to Ryan's sample on his Person page.

The timeline shows me the audio as a blue line, with Liferecorder
marks. The menu appears, but there's no sound after clicking play.
This is the same sample, just following the link from Ryan's Person
page.

I'm not sure about uploads yet. One time is seemed to work, but I
don't see subsequent uploads.

I have the Java applet working on Linux with Firefox 5.0 (FF just
auto-updated itself). The desktop tray appears, I get the upload
dialog. It tells me upload is complete.

Here's my Eckoit:

http://wordit.iriscouch.com/eckoit/_design/app/timeline.html

The audio is at 2011-06-24-02:18. It should be a female voice talking
about gnomes :-)

Anybody hear anything?

Marcus

Ryan Ramage

unread,
Jun 24, 2011, 10:44:10 AM6/24/11
to eck...@googlegroups.com
Hey Marcus,

There are a few issues here.

1. Your iris couch is still on 1.0.1. Send an email to them and ask them to upgrade you to 1.1.0. They said they rolled it out to everyone, so I am surprised that you are not at that version  (http://wordit.iriscouch.com returns {"couchdb":"Welcome","version":"1.0.1"} )
Seeking the audio will never work on this version.

2 -  I think I have spotted a bug that happens in FF on the timeline. I will try and get that fixed for tonight.

3. - I downloaded the audio from here http://wordit.iriscouch.com/_utils/document.html?eckoit/19b59832-e3ed-478e-a46d-366db1eafd36 and I could not get vlc to play it. Could you md5 it and compare to the original? did something happen to it?

Wordit

unread,
Jun 24, 2011, 10:54:54 AM6/24/11
to eck...@googlegroups.com
On Fri, Jun 24, 2011 at 4:44 PM, Ryan Ramage <ryan....@gmail.com> wrote:

> 1. Your iris couch is still on 1.0.1...


> Seeking the audio will never work on this version.

Will do. I have the same problem at eckoit's iriscouch though too.


> 2 -  I think I have spotted a bug that happens in FF on the timeline. I will
> try and get that fixed for tonight.

Is this audio related?


Oops the original file is corrupt. I used Audacity and something must
have gone wrong. MD5s matched, so the upload was fine.


Btw, since colons are not liked by couchdb (and other apps), maybe we
should change to all dashes in the date format?

Marcus

Ryan Ramage

unread,
Jun 24, 2011, 11:08:34 AM6/24/11
to eck...@googlegroups.com

> 1. Your iris couch is still on 1.0.1...
> Seeking the audio will never work on this version.

Will do. I have the same problem at eckoit's iriscouch though too.

> 2 -  I think I have spotted a bug that happens in FF on the timeline. I will
> try and get that fixed for tonight.

Is this audio related?

Yup. It is the reason your audio will not play on the ecko-it iriscouch as well. It is a quick and easy fix. 

Btw, since colons are not liked by couchdb (and other apps), maybe we
should change to all dashes in the date format?


Sounds resonable. I will change that tonight. So the default pattern going forward will be YYYY-MM-DD-HH-MM-SS.ext

 Ryan

Wordit

unread,
Jun 24, 2011, 2:16:36 PM6/24/11
to eck...@googlegroups.com
Okay, my couch is now at 1.1.0. Audio is working in timeline under Chrome.

Does anybody know how to associate extensions with Chrome under Linux?
I think Puppy Linux uses XDG.

My guess is, the reason the uploads are not arriving in couchdb via
Chrome, is that Chrome did not initiate the uploader.

Running javaws from the console is no good. The browser has to call
it, or the upload has no destination, right? (I don't program Java so
I guessing).


Marcus

Ryan Ramage

unread,
Jun 24, 2011, 2:38:47 PM6/24/11
to eck...@googlegroups.com

Does anybody know how to associate extensions with Chrome under Linux?
I think Puppy Linux uses XDG.

Poking around google: 


the mime type you should be adding for .jnlp is
application/x-java-jnlp-file

 

My guess is, the reason the uploads are not arriving in couchdb via
Chrome, is that Chrome did not initiate the uploader.

Running javaws from the console is no good. The browser has to call
it, or the upload has no destination, right? (I don't program Java so
I guessing).



Ahhh, brainwave. I know why yours is not uploading....your couch has a uname/pass. The file (webstart.jnlp) will have all the info needed to connect to the couch you launched it from. BUT I can't get the password. I intend to have a dialog prompt to ask for a password. For now here is what you can do:

edit the file
~/.eckoit/application.properties

add a line that looks like this
password=yourcouchdbpass

Launch the application from your desktop, or from the command-line, or from the browser. With any luck that should work.

R

Ryan Ramage

unread,
Jun 24, 2011, 2:46:19 PM6/24/11
to eck...@googlegroups.com

Running javaws from the console is no good. The browser has to call
it, or the upload has no destination, right? (I don't program Java so
I guessing).



Ahhh, brainwave. I know why yours is not uploading....your couch has a uname/pass. The file (webstart.jnlp) will have all the info needed to connect to the couch you launched it from. BUT I can't get the password. I intend to have a dialog prompt to ask for a password. For now here is what you can do:

edit the file
~/.eckoit/application.properties

add a line that looks like this
password=yourcouchdbpass


Ok second thought. I don't think that is the problem. Your actual db (eckoit) is open.
But just double check the the settings in 
~/.eckoit/application.properties
match your couch.


Also  you can check the file ~/.eckoit/log/log0.out   look for errors at the time of upload.


 


Marcus

unread,
Jun 27, 2011, 7:36:50 AM6/27/11
to eck...@googlegroups.com
Audio has stopped playing again from the timeline. Neither Chrome nor FF work.
Chrome definitely worked a few days ago. The same audio still plays from other pages though. Firebug shows that the couch is contacted and receives the file info.I tried on http://ecko-it.iriscouch.com as well. Same results.

Marcus

Ryan Ramage

unread,
Jun 27, 2011, 11:16:17 AM6/27/11
to eck...@googlegroups.com
I have tested the timeline on Chrome on win and mac, and it seems to be working for me. 
I have chrome 12.0.742.100 on the computer I am at. 

What version of Chrome are you on?

I can confirm that all versions of FF the timeline is not working. I have been trying to fix it for FF but have been unsuccessful. 

If others have chrome on a linux distro, can you confirm  if the audio is working (and seeking) at this link?






Wordit

unread,
Jun 27, 2011, 3:07:01 PM6/27/11
to eck...@googlegroups.com
I'm running Chromium 10.0.630.0 (70615).
A few days ago this version worked playing the timeline. Maybe it's a
jPlayer issue?

(I was using Chrome 12.x, but ironically, it got stuck loading Gmail.
No other problems, only Gmail. It wasn't net congestion. I ran FF 4.x
in parallel and it loaded Gmail quite fast. Tried it several times
over a few days.)

Marcus

Matthew Woodward

unread,
Jun 27, 2011, 8:01:22 PM6/27/11
to eck...@googlegroups.com
I finally got a chance to try things in FF 5 on Linux Mint 11 and so far it's awesome! Replicated from your test Couch to a couple of my own and this is seriously fantastic.

We're having a public conference call on one of the other open source projects I'm involved with so I'm going to see about recording that as yet another test--I see that as another neat potential use, record conference calls and let people collectively annotate things after the fact, or provide a way for people who couldn't make the call listen and comment.

Ryan Ramage

unread,
Jun 28, 2011, 1:39:36 AM6/28/11
to eck...@googlegroups.com
Matthew, that is fantastic! It's great to hear some positive results. 

I know you have a sansa clip you have converted yourself. Have you used that to record the audio? Or did you using the audio import?

Also where you able to use the audio timeline in FF5? Some of us have had problems with that...


We're having a public conference call on one of the other open source projects I'm involved with so I'm going to see about recording that as yet another test--I see that as another neat potential use, record conference calls and let people collectively annotate things after the fact, or provide a way for people who couldn't make the call listen and comment.


Yes, let us know how that works out. Just remember to remind the participants that you are recording. After the conference call (if the audio upload works ok) you can send all participants a link, and yes the idea is that it can become a way after to markup/distribute the 'minutes'.

Cool!

Ryan




Matthew Woodward

unread,
Jun 30, 2011, 12:28:03 AM6/30/11
to eck...@googlegroups.com
On Mon, Jun 27, 2011 at 10:39 PM, Ryan Ramage <ryan....@gmail.com> wrote:
I know you have a sansa clip you have converted yourself. Have you used that to record the audio? Or did you using the audio import?

I'm getting a chance to try this tonight and ran into a couple of snags, so hopefully I'm just missing something fundamental.

Here's what I did:
1. Replicated http://ecko-it.iriscouch.com/test to http://mpwoodward.iriscouch.com/eckoit

2. Browsed to http://mpwoodward.iriscouch.com/eckoit/_design/app/dashboard.html

3. Hit "start tray" -- tray app launches fine

4. In tray hit "upload audio" and navigate to a directory with one file from my rockboxed sansa clip (in other words I copied the file from the sansa to another directory)

5. Selected "Rockbox" option for "how is the file labelled with date/time?" (btw, spelling error on 'labeled' ;-))

6. Hit "upload"--it says "processing tags" for a few seconds, then seems to flash "uploaded locally 0 of 1" briefly, then "Complete. Close Dialog."

So I guess at this point I don't really know what I'm looking for, but I don't think it actually uploaded anything to Couch. From the tray menu if I choose "open ecko-it" it does open http://mpwoodward.iriscouch.com/eckoit/_design/app/dashboard.html in my browser so I guess that means it "knows" which Couch to point to, but I don't see the file anywhere, so my apologies if I'm missing something basic.
 

Also where you able to use the audio timeline in FF5? Some of us have had problems with that...

Yes, that does seem to work fine in FF 5 on Linux Mint 11.

 

Yes, let us know how that works out. Just remember to remind the participants that you are recording. After the conference call (if the audio upload works ok) you can send all participants a link, and yes the idea is that it can become a way after to markup/distribute the 'minutes'.

Had this call tonight and didn't figure out a way to record it before the call, but suggested the idea of recording to the group and they loved the idea so we'll definitely do it next time.

Matthew Woodward

unread,
Jun 30, 2011, 12:34:52 AM6/30/11
to eck...@googlegroups.com
On Wed, Jun 29, 2011 at 9:28 PM, Matthew Woodward <ma...@mattwoodward.com> wrote:
5. Selected "Rockbox" option for "how is the file labelled with date/time?" (btw, spelling error on 'labeled' ;-))

Tried renaming the file using the date naming convention and selecting that option, and same results.

One thing I'm wondering--my Couch on Iris has an admin user on it. Does the tray app need to know my user/pass in order for this to work?

Ryan Ramage

unread,
Jul 2, 2011, 11:03:19 PM7/2/11
to eck...@googlegroups.com
Matthew, 

I am sorry for the late reply. I have started a vacation and have been in the Canadian backwoods for a few days. Now that I am in Vancouver, I have some inet access!

Anyway, a couple of things. I looked at your couch, the problem is not the u/password. I think the date on your clip is the wrong year. I found the audio you uploaded here:


And I can see the audio you uploaded by renaming the date here:


I would suggest

1) set the time on your clip. 
2) If you want to upload the audio from your clip by yourself, you can point use the upload dialog and select your clip record directory /mnt/clip/record/voice
3) you can also have the audio auto upload when you insert the clip into the computer. If the tray program is running, it should auto detect it and begin an upload. Let me know of that does not happen.


Let me know how you get on!

Ryan



Reply all
Reply to author
Forward
Message has been deleted
0 new messages