Antennapod: Statistics

Created on 6 Mar 2016  Â·  30Comments  Â·  Source: AntennaPod/AntennaPod

It would be nice to have a statistics tab that shows how many hours of podcasts you have already listened to. Looks like this is quite easy to implement because the info is already in the app's database.

feature request

All 30 comments

@ByteHamster where do you need this tab ? and how do you need this information? for each podcast independently or all the podcasts combined ?

Like if Podcast 1 has 3 episodes of 2:00 , 3:00 , 5:00 min length respectively and you viewed 1st episode for 1:00 min and others for 3:00 and 5:00 respectively it would show a total of 9:00 mins / 10:00 mins or some other thing ?

need more detail on what statistics you want

I don't actually need the tab, it just would be an interesting feature in my opinion ;) AntennaPod already has the option to hide unwanted fragments, so I think nobody has anything against it

Just created a small mock-up how I think it could look like. In your case it should show 9 mins - the time you spent listening to podcasts in total. Below the number there could be a list that shows the time of individual feeds. Of course there should be some sort of label that tells the user what the number means. I'm currently writing from my phone, so the image is just a very basic mock-up

I can also implement it on my own if @mfietz says that he is going to merge it. Might need some time but I think I can do that :) If @pareshchouhan wants to implement it, that would be great of course :)

Can't promise to merge code I have not seen, yet.
But if the code meets our standards and fits into the UI, there is no reason not to merge it.

Okay, I have built a working prototype. Needs some visual improvements but I think that won't take that long. So you don't need to implement it @pareshchouhan

@bytehamster Can you already provide screenshots of how it will look, so that we can provide some feedback?

I have some thoughts on the mock-up but i feel it makes no sense to share them now that you actually started working on it (and my comments may not be valid anymore) :)

@keunes This is how it looks currently. Nearly finished, I guess. Just needs some code cleanup

Okay, code cleanup done. Any suggestions before I propose the pull request?

Thanks, looks nice. To make it really useful, for example for seeing which feeds one might want to ditch as you don't listen to them anyway, it would be great if it would be possible to sort them based on the amount of listening hours (rather than alphabetical order). Don't know how much work that is for you to implement, but I guess that's something users will be going to ask for anyway.

I'm also curious how is dealt with skips, pauses, etc. Does it count episode lengths, or does it count actually listen time?

Great idea, going to add the sorting feature soon :)

It counts the length of all episodes that are marked as "played" plus the playing position of all other episodes. This way, we don't need additional stuff in the database (and it will also show time that was played before updating).

nice @ByteHamster :+1:, I was busy the following week :(

Anything else to improve? :)

How will users access the statistics?

Two additional ideas (to maybe add at a later stage):

  • # of episodes started (rather than their time)
  • 'out of' principle: 20:34 hours out of xx:xx (although I'm not sure if this could reliably be produced with what's available in AP's database)

@mfietz From the side drawer

@keunes Thanks, going to add that

Ready for pull request? :)

Nice work! May I do yet another couple of suggestions? (A)
1) Change of icon, since the clock doens't really link to statistics.
Take, for example (in order of my personal preference) one from Material Design Icons (which is included in Iconify) or from Google's Material Icons:
chart-pie this one
chart-histogram this one
ic_insert_chart_black_24dp_1x this one
chart-bar this one
ic_pie_chart_black_24dp_1x this one
More options: search for 'chart' on https://materialdesignicons.com and https://design.google.com/icons/

2) Another thought: maybe get rid of the 'hours' behind every entry, making more space for the feed title? If going for the 'expanding' option suggested by @mfietz (which I like) that would also make space for an 'arrow' (like > )

3) Make it possible to go directly to that feed, somehow.

PS. if anyone ever reaches the 1500 hours, does that fit in the screen?

A dialog is a rather bad way to show additional information... For one, the UI does not give me any indication that it even responses to touch.
Would make more sense to have a dedicated button that maybe expands a view below the feed with the information.

Depending on your screen size and language, the word "hours" might be displayed in the next line. That's not a problem IMO, still looks quite good.

Going to change the icon.

@mfietz To be honest, I don't have much motivation to add an expanding ListView. I've already worked quite some time on it and I actually like the way it looks now. Couldn't we merge it as it is and maybe add the expanding feature later?

@mfietz that is a graph that indicates change over time; which is not the info this screen offers. Though I agree that may be the nicest icon, I'd go for a more representative icon.

@keunes Don't see any pie or line charts, either ;)

@ByteHamster Maybe it's an idea to add a graph? Then the icons actually make sense ;)

On a serious note: Maybe there's no graphical but numerical presentation, but actually - looking at what info actually is presented - a bar chart chart-histogram represents the data best. It's 'amount per item', rather than 'change over time' (line chart) or 'relative importance' (pie chart) :)

@keunes You can add that if you want to ;) For me, the list like it was in the beginning (without 'out of') was already enough

Just changed the icon to the one @mfietz suggested. Should I change it again?

What do people think about putting this in Settings instead of the drawer.
We've been trying to reduce the number of things in the drawer.

This seems like it wouldn't be accessed that frequently, so settings might
be OK.

On Mon, Mar 21, 2016, 7:19 AM ByteHamster [email protected] wrote:

Just changed the icon to the one @mfietz https://github.com/mfietz
suggested. Should I change it again?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/AntennaPod/AntennaPod/issues/1743#issuecomment-199230831

@ByteHamster I know how to criticise stuff, but I don't know how to code, so no chance I can add that ;)
Re the icon: of course I'd suggest changing it again to a bar chart, but then again, I'm biased. I'd say it's your call whether you go for the looks or better representation :)

Additional comment to my 'vote' to @TomHennen's suggestion: people can remove items from the drawer, and putting it away under the settings would highly limit recoverability, while I suspect it'd be used more often than the average content in the settings.

I think the icon of @mfietz looks better even though it does not _really_ represent the actual data. Going to propose a pull request now so I can focus on other features I want to add ;)

How about having a click/touch on the "total time listened" in the second screenshot toggle between total hours/total episodes? Both for the aggregate and for the individual episodes.

That enables the user to see total number of episodes listened to for all subscriptions to at a glance as well as reduces the need for an additional dialog to present the extra data.

@ChaoticMind In my opinion it's even less obvious that the heading can be clicked than the list entries. I just hope it's merged as it is. If you want, you can improve it afterwards.

I agree it would be nice to "see total number of episodes listened to for all subscriptions to at a glance" (actually that's what I had in mind when suggesting 'number of episodes'), but I don't think its good to hide it behind the title, or a dialog.

A better option IMHO would be to have two toggle buttons in the action bar (# of episodes vs play time; sort). But yeah, that might as well be added later.

Was this page helpful?
0 / 5 - 0 ratings