/images/gsoc.png

Just one of those days when you wake up and feel like “I knew there was something wrong, or something way too easy”. It seemed like an average task but I was sure I was missing something.
So what am I talking about??!!
Well, GPodder is a pretty basic API and hence it does not offer you anything too fancy, and hence from all that I could use, it still felt that page is pretty minimal since the search delegate could not be populated with anythingmore than the podcast name in all honesty, this is too bad since I was expecting it to atleast return some images and more metadata. I could see that the delegate was pretty empty and it could use some fancy editing. In this quest I decided to create individual XmlListModel’s for each xmlUrl and return some metadata from it (you can already feel how tiresome and sloooowwwww it would be, which was exactly the case.). Each ping would take several seconds to display the most basic data, before it fetches the images and everything, and we are talking about almost 10 seconds in preparing each request, which was like too much. Even more when you think that I was planning to implement some carousels with recommendations and trending lists, and with a 10+ second overhead, and each search returning 20 results on an average would all load just too slow. We decided maybe there was a need of a better API and we should probably start exploring options. :(
So yes, it seems the previous week’s progress would have to be junked, maybe we could use the frontend but the business logic of all those XmlListModel’s would have to replace with a better solution. We had several API’s available to us from the start, and from all of our option, Fyyd and PodcastIndex. Eventually it would be PodcastIndex which also has a secure request authorization.
At this time, I started working on preparing the android development environment for KDE apps. Bart de Vries and Tobias Fella were very helpful (like they always have been throughout the timeline) in dictating each and every step meticulously. Creating APK’s of KDE apps is done through android docker environment and since I am relatively new to docker, initially I had trouble following, but it was made easier by luculent steps laid out by Bart, he even gave his own scripts and I firmly believe one can create a wonderful tutorial out of it, it was so easy to follow along. Thanks to Tobias Fella, I could also setup the newer way of building apks using our own build system and package manager Craft.
So later this week after taking a couple of days off, I decided to start working on a newer model. Tobias Fella had already added the part of the model where we make a network request using a search URL and then all I had to do is to store the data by creating some custom roles. This would mean, I have to reuse the frontend from the previous model and simply connect the search button to the new model and then use the stored results to populate the the result listview and the FeedOverviewDrawers. This was all relatively easy and since we were the ones writing the code, it was much more flexible than readymade models.
So it went well and I got my code changes reviewed, I still have a few issues to fix and some old MR’s to complete which I had almost forgotten for the next week but nothing too serious for now. The difficult part has been setting up this Jekyll site for now on my main Arch system, it runs into gem errors every then and now or some issues regarding image renders and then all I am left with is to start over again :D.

License

MIT License

Copyright (c) 2023 swaptr

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.