Giter VIP home page Giter VIP logo

podcast's Introduction

Podcast Player

This Podcast Player lets you search the Itunes store podcast library and play the episode of your chosing. You can also download podcasts to the device and play them without needed a network connection.

Pods

This project uses the following pods :

  • Alamofire for networking calls and to download media files
  • FeedKit to parse the RSS Feed
  • SDWebImage for Image Caching

Implementation & Frameworks

SearchBarController : Searches using the Itunes Api for its podcast library and displays the fetched podcasts, pushes to EpisodesController

EpisodesController: Displays a podcast's episodes list, allows the user to download episodes and to play them using the AudioPlayer

AudioPlayerView: plays the episode using AVKit The user can play, pause, forward, rewind and move to a specific time in the audio. the user can also adjust the volume. Dismisses back to the EpisodesController or DownloadsController

DownloadsController: Displays the users downloaded episodes that are saved locally to the device. Running the AudioPlayer from here allows the user to play an episode without a Network connection

Frameworks : CoreData - implemented in DatabaseHandler AVKit - implemented in AudioPlayerView

Search for Podcast Episode

The user can search the itunes store podcast library. Selecting a podcast brings up its episode list. Selecting an episode will launch the audio Player . The user can also download a Podcast by swiping right on an episode.

Audio Player

On launch, the podcast episode automatically starts playing.

Here's the available controls for the audio player :

  • Resume/Pause audio playback by tapping play/pause button
  • Foward audio playback by 15 seconds by tapping the forward button
  • Rewind audio playback by 15 seconds by tapping the rewind button
  • Play at a specific time by dragging the top slider to the desired time
  • Adjust Volume by dragging the bottom slider to the desired volume

the audio player can be minimized using the dismiss button at the top or with a swiping down gesture. Once minimized it can be popped back with a tap or swipe up gesture.

Downloads

The user can access the downloaded podcast episode by selecting "Downloads" in the bottom tab. This action will display all the fully downloaded podcast episodes.

selecting an episode will display the audio player and will play the media file stored on the device - this part doesnt require a network connection.

This section is persistent and so are media files associated with the downloaded Podcasts

How to build

  • Extract folder from file
  • Run Podcast.xcworkspace

Requirements

Xcode 14.2 Swift 5

License

MIT License

Copyright (c) [2021] [Mo Sersouri]

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.

Current Bugs

...

Upcoming Features

...

podcast's People

Contributors

flybyflow avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.