freelawproject / courtlistener

A fully-searchable and accessible archive of court data including growing repositories of opinions, oral arguments, judges, judicial financial records, and federal filings.
https://www.courtlistener.com
Other
551 stars 151 forks source link

Provide means of saving one's place in audio #346

Open brianwc opened 9 years ago

brianwc commented 9 years ago

A user writes, "I'd like a way to store my current location in each audio file. I move from device to device and I lose track of where I left off in the audio. It would be nice if I could store that location in the cloud. (similar to the way YouTube does already)"

jraller commented 9 years ago

My initial reaction to that is about privacy. The starring of an item is an active choice by the user, but the monitoring and recording of audio playback would be by nature more background and automatic.

mlissner commented 9 years ago

It's an interesting idea. We're pretty far from being able to do this on the tech side:

But against that backdrop of impossibility, I do think this sounds like a useful feature, especially since the tracks are so long.

I'd like to add a number of features to CL, such as recently viewed items and recent searches. This would fit in with that, and it'd be a good time to work out any privacy concerns.

mlissner commented 9 years ago

OK, a little research reveals that we can get the current location:

https://stackoverflow.com/questions/6377441/jplayer-2-0-elapsed-remaining-time

Or set the current location:

http://www.jplayer.org/latest/developer-guide/#jPlayer-playHead

So, that'd just need to send data back to the server with the location every 30s or something, and the server would be able to keep track. Doable, but still a long ways off.