Skip to content
Snippets Groups Projects
  1. Mar 12, 2025
  2. Mar 10, 2025
  3. Mar 08, 2025
  4. Mar 07, 2025
  5. Feb 27, 2025
  6. Feb 23, 2025
  7. Feb 21, 2025
  8. Feb 19, 2025
  9. Feb 17, 2025
  10. Feb 16, 2025
    • Felix Paul Kühne's avatar
      c8c81a5c
    • Diogo Simao Marques's avatar
      Cosmetics: Fix coding style · 32655e68
      Diogo Simao Marques authored and Felix Paul Kühne's avatar Felix Paul Kühne committed
      The coding style has been reviewed in several files and some chunks
      of code have been simplified.
      32655e68
    • Mohamed Sliem's avatar
      MediaCollectionViewCell: Hide Angled Arrow Imgage For Last Played Playlist · f1d5241a
      Mohamed Sliem authored and Felix Paul Kühne's avatar Felix Paul Kühne committed
      This should hide the angled arrow in playlist cell for only last played
      one. This makes the indicator more cleaner and clearer.
      f1d5241a
    • Mohamed Sliem's avatar
      MediaCategoryViewController: Fix Code Styling · a277f0a8
      Mohamed Sliem authored and Felix Paul Kühne's avatar Felix Paul Kühne committed
      a277f0a8
    • Mohamed Sliem's avatar
      MediaCategoryViewController: Add last played playlist indicator · e8c4309d
      Mohamed Sliem authored and Felix Paul Kühne's avatar Felix Paul Kühne committed
      MediaCategoryViewController: Save currently playing playlist
      
      capture the current playing playlist with cell didSelect action and
      presist the data in user defaults.
      
      MediaCatogoryViewController: Save last played playlist through Gestures
      
      Capture the last played playlist which is selected through long  press
      gestures with  actions of play, append to queue and play next in
      queue when the queue is empty.
      
      Extensions: Added UserDefaults extension for custom types
      
      Added two function for decoding and encoding custom types and save it to
      user defaults
      
      MediaLibrary Models: Added last played Playlist model
      
      Helper model to presist last played  playlist necessary data in user
      defaults
      
      MediaCategoryViewController: Save last played playlist function
      
      Updated function to be able to cache custom type using UserDefaults
      
      Extensions: fixed UserDefaults function naming
      
      rename function name and parameters to fix the issue of recursive call
      of UserDefaults super set function
      
      VLCPlaybackService: Added will stop observer
      
      Addded observer when playback will stop. for catching last played media
      and notify view to reload data for updating the last
      played playlist label
      
      MediaCollectionViewCell:Added Last Played Indicator Label
      
      Take advantage of newLabel and use it in playlist cells to show an
      indicator of the last played playlist. Set a condition for only showing
      the label during only the active playback
      
      VLCPlaybackService: Added New Playabck Observer
      
      Added new playback observer name  for Playback Will Stop State in the header
      file
      
      MediaCollectionViewCell: Fixed Showing LastPlayed Label
      
      Fixed showing last played label when the playback is active and in some
      cases of playlist in player queue
      
      MediaCategoryViewController: Fixed Removing Observer Bug
      
      Handling adding and removing observer in all cases like long tap menu
      actions, and playing a single playlist media when the player is activily
      playing a queue. Handling reloading data in all playing cases
      
      Localization: Added Last played playlist label title
      
      Added English localization for last played label and set it in
      MediaCollectionViewCell class
      
      MovieCollectionViewCell: Adapt last played playlist indicator
      
      MediaCategoryViewController: Fixed Minor coding style violation
      
      removed Debugging Print statements, and fixed else if style
      
      LastPlayedPlaylistModel: Added Last Played Media Model
      
      Added LastPlayedPlaylistMedia to indicate the last played media in a
      given playlist.
      
      MediaCategoryViewController: Saving last played media addition
      
      Refactored saveCurrentPlaylistInfo and added lastPlayedPlaylistMedia
      model to it. This will presist the last played media in playlist and
      updated funcion calls arguments
      
      Added LastPlaylistPlayedMedia Key
      
      VLCPlaybackService: Update PlaybackWillStop Observer user info
      
      get the current playing media before the playback stops and fetch this
      media in VLCMLMedia type. Attached this media to PlaybackWillStop
      userInfo
      
      MediaCategoryViewController: Captured last played media
      
      Using the userInfo posted by PlaybackWillStop observer. presisted the
      media data and its given playlist to indicate the UI to show last played
      one
      
      MediaCategoryViewController: Check the last played media in a given
      playlist
      
      Check for the view model if it the last played playlist. depending on
      the check result, checking for the last played media in this given
      playlist to show it as lastPlayedMedia
      
      MediaCateogoryViewController: Added isLastMedia to check condition
      
      MediaCollectionViewCell: Last played indicator for VLCMLMedia
      
      Added functionality to show last played label in the last played media
      when playback is stopped
      
      MovieCollectionViewCell: Last played label
      
      Added last played label to GroupView to indicate last played playlist in
      Grid mode
      
      MediaCollectionViewCell: Fixed CheckImageView on selection bug
      
      Removed unnecessary statement of hiding CheckImageView in setting last
      played label function
      
      MediaCollectionViewCell: Updated Last played indicator logic
      
      Added the logic to show last played indicator for audio media types
      
      MediaCollectionViewCell: Fixed coding style
      
      MovieCollectionViewCell: Fixed Coding Style
      
      VLCPlaybackService: Limited PlaybackWillStop Observation
      
      Limited Posting a notification for PlaybackWillStop observers to only
      iOS OS
      
      MediaCategoryViewController: Limited Lastplayed media observation
      
      Limited Observing on PlaybackWillStop Observer to iOS only. also limited
      last played playlist indication helper functions
      
      LastPlayedPlaylistModel: Removed unnecessary initializer
      
      Removed Initializer and set model properties to non optional value.
      Moved them to PlaylistModel file
      
      MediaCategoryViewController: LastPlayedPlaylistModel nil-safety
      
      Added optional binding to function that uses LastPlayedPlaylist Model
      
      MediaCategoryViewController: Refactored checking last played playlist cell
      
      Refactored the code responsible for checking last played playlist and
      last played media in a given playlist. removed duplicates.
      
      MediaCategoryViewController: Removed unneeded OS checking
      
      MediaCollectionViewCell: Handled updating newLabel
      
      This should fix showing  of last played text in the newlabel for the New
      Media
      
      MediaCategoryViewController: Refactored observing last played playlist
      logic
      
      Removed Static variable and added observer to handle caching only
      playlist model to indicate the last played one.
      
      VLCConstants: Added CurrentPlaylistQueueIds Key
      
      PlaylistModel: Added CurrentPlaylistQueueInfo model
      
      This helper model is used in currentPlaylistMediasQueue dictionary which
      helps to indicate the last played media correctly for Queue playing
      options.
      
      MediaCategoryViewController: Ability to indicate last played media from
      the queue
      
      This should solve the issue of the last played media indication for a given
      playlist when the queue has different medias from different playlists with the Using of mediaId, playlistId and playlistTitle.
      
      MediaCategoryViewController: Refactor Handling Player Queue Playlist
      
      This should refactor the method used in catching the last playlist from
      the queue when it contains multiple playlists. Solved some code style
      comments.Removed using json encoding and decoding with user defaults.
      
      MediaCategoryViewController: Refactor Handling Player Queue Playlist
      
      This should refactor the method used in catching the last playlist from
      the queue when it contains multiple playlists. Solved some code style
      comments.Removed using json encoding and decoding with user defaults.
      
      MediaCategoryCollectionCells: Refactored Hiding the last played label
      
      This should change the cases of hiding and showing last played label.
      hiding the label when currently playling collection is a playlist,
      otherwise it will be shown.
      
      PlaylistModel: Refactored LastPlayedPlaylistModel to adapt NSCoding
      
      This should enable the encoding and decoding using NSKeyedUnarchiver and NSKeyedarchiver to store it in userDefaults.
      
      PlaybackCacheHelper: Cache the current queue medias playlists
      
      This should cache the media's playlist info played with actions
      [playNextInQueue, appendToQueue].It is a helper for catching the last
      played playlist in a queue with more than one playlist or a different
      medias from different playlists.
      
      MediaCategoryViewController: Changed collectionSelectedIndex variable type
      
      This should change the type of the collectionSelectedIndex to optional IndexPath for more memory saftey
      
      MediaCollectionViewCell: Refactored Last Played functionality
      
      This should refactor the functionality of handling the last played
      label.
      
      MediaCategoryViewController: Save last played when app is terminated
      
      This should add the ability to update the last played value from any
      viewed model.The last logic only updates the value if the view model is
      a playlist or a playlist media collection. Removed the dependancy on
      optional values in last played helper methods.
      e8c4309d
    • Felix Paul Kühne's avatar
Loading