Skip to content

Commit

Permalink
Merge pull request #101 from tobexyz/feat/prepare_release
Browse files Browse the repository at this point in the history
Feat/prepare release
  • Loading branch information
tobexyz authored Feb 3, 2024
2 parents 438e50e + e8a57d0 commit 693eff6
Show file tree
Hide file tree
Showing 25 changed files with 9 additions and 4 deletions.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added doc/screenshots/4.1.x/browse_content_folder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshots/4.1.x/browse_image_folder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshots/4.1.x/browse_music_folder.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshots/4.1.x/browse_player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshots/4.1.x/browse_receiver.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshots/4.1.x/browse_servers.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshots/4.1.x/image_player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshots/4.1.x/image_player_show_menu.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshots/4.1.x/music_player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshots/4.1.x/music_player_landscape.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/screenshots/4.1.x/playlist_fully_editable.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion yaacc/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:versionCode="40100"
android:versionName="4.1.0-SNAPSHOT">
android:versionName="4.1.0">

<uses-permission android:name="android.permission.INTERNET" />
<uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />
Expand Down
5 changes: 4 additions & 1 deletion yaacc/src/main/java/de/yaacc/browser/TabBrowserActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,10 @@ public boolean onKeyDown(int keyCode, KeyEvent event) {
volumeToast.show();
}
if (viewPager != null && tabLayout != null && tabLayout.getSelectedTabPosition() == BrowserTabs.RECEIVER.ordinal() && tabLayout.getTabAt(tabLayout.getSelectedTabPosition()).view != null) {
((RecyclerView) getSupportFragmentManager().getFragments().get(viewPager.getCurrentItem()).getView().findViewById(R.id.receiverList)).getAdapter().notifyDataSetChanged();
List<Fragment> fragments = getSupportFragmentManager().getFragments();
if (fragments.size() > viewPager.getCurrentItem()) {
((RecyclerView) fragments.get(viewPager.getCurrentItem()).getView().findViewById(R.id.receiverList)).getAdapter().notifyDataSetChanged();
}
}
}

Expand Down
6 changes: 4 additions & 2 deletions yaacc/src/main/java/de/yaacc/player/PlaylistItemAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,8 +77,10 @@ public void onBindViewHolder(final PlaylistItemAdapter.ViewHolder holder, final
}

private void removeItem(int listPosition) {
player.getItems().remove(listPosition);
setItems(player.getItems());
if (player.getItems().size() > listPosition && listPosition > 0) {
player.getItems().remove(listPosition);
setItems(player.getItems());
}
}

public void setItems(List<PlayableItem> items) {
Expand Down

0 comments on commit 693eff6

Please sign in to comment.