cozy-labs / cozy-music

Cozic, an open source music cloud
GNU Affero General Public License v3.0
6 stars 7 forks source link

Podcast filter in Cozy-Music #79

Open genma opened 8 years ago

genma commented 8 years ago

Konnectors is updated and now it allows to import podcast files (via Rss feed) in Files and play theses files in Cozy-Music. Theses files are actually recognize as ordinary music files.

An enhancement will be to be able to retrieve this specific file via a "Podcast" category.

Another enhancement will be to replay from where the podcast was stopped (actually, each files restart from the begining).

Contact me if you want more details.

babolivier commented 8 years ago

Theses files are actually recognize as ordinary music files. An improvement will be to be able to retrieve this specific file via a "Podcast" category.

Actually, I was thinking about the connector creating a playlist for a podcast and adding all episodes in it as a future improvement. Would this correspond to your use case?

Another improvment will be to replay from where the podcast was stopped (actually, each files restart from the begining).

Good idea, I like the way VLC does it too. @flyingrub (or anyone else), wouldn't it be interesting to add a metadata to each track document with the time to start the track from, updated each time the user hits the "pause" button and/or close the tab?

genma commented 8 years ago

Actually, I was thinking about the connector creating a playlist for a podcast and adding all episodes in it as a future improvement. Would this correspond to your use case?

I think so. Maybe sub playlist in playlist as Podcast >MyPodcast01 will be the best.

babolivier commented 8 years ago

In the current state of the app, sub playlists are not possible. Maybe one day...

flyingrub commented 8 years ago

Good idea, I like the way VLC does it too. @flyingrub (or anyone else), wouldn't it be interesting to add a metadata to each track document with the time to start the track from, updated each time the user hits the "pause" button and/or close the tab?

We could store the currentTime of the currentTrack. But i don't think that keeping the state of each tracks is necessary.

genma commented 8 years ago

But i don't think that keeping the state of each tracks is necessary.

Not each track. Most of tracks are music and when I want to hear them, it's from the begining. In case of podcast, I can stop during a listening session and I'd like to restart from the last stop point in the track. I can hear different podcast at different moment.

So keeping the state for tracks flag / known as podcast is a necessary improvement.

lapineige commented 8 years ago

And what about keeping the time information, and adding the option to replay from where the podcast (or any audio file) was stopped ? - I mean, not by default but by clicking on a button, like VLC does. It might be useful if you accidentally closed the tabs, or if you listen to an audio file that is not flagged as a podcast (or included in the podcast playlist).

flyingrub commented 8 years ago

https://github.com/cozy-labs/cozy-music/commit/2b4bc55f9511535bff7918df36a29e6dd993fecb i think this commit fixes this issue. It's to the connector side to add them in a podcast playlist.