GinArena-patch icon indicating copy to clipboard operation
GinArena-patch copied to clipboard

feat: Pin one or multiple playlists in the Category section

Open lotslove opened this issue 2 weeks ago β€’ 50 comments

Feature description

Pin one or multiple playlists in the Category section of Cricfy, Cricz, Playfy, Playz, Crexify, and Sktech. For example, pin Jio India so it appears at the top of the Category section. This helps on Android TV, making it easier to access.

Motivation

To save time and can filter playlists.

Acknowledgements

  • [x] I have checked all open and closed feature requests and this is not a duplicate
  • [x] I have chosen an appropriate title.
  • [x] All requested information has been provided properly.

lotslove avatar Nov 15 '26 04:11 lotslove

Not sure if it's feasible or not as many may not want JIO as the default pin, but I will try to investigate if any favorite section can be included in the category for easy navigation.

ginDoki19 avatar Nov 15 '26 12:11 ginDoki19

Not sure if it's feasible or not as many may not want JIO as the default pin, but I will try to investigate if any favorite section can be included in the category for easy navigation.

Oh OK πŸ‘πŸ‘πŸ˜ŠπŸ˜Š Jio was just an example I provided. Users can pin any category as per their wish.

lotslove avatar Nov 15 '26 12:11 lotslove

Made one working build. Needs some refinement in it. I will provide you a link for a local test if it's working in the android tv or not.

ginDoki19 avatar Nov 16 '26 02:11 ginDoki19

  • Long-press a category (press and hold OK on the remote) β†’ a small dialog appears: Pin / Cancel
  • The pinned category jumps to the top of the Category list with a πŸ“Œ before its name
  • Pin several: they stay first, in the order you pinned them
  • Survives closing the app and refreshing the playlist
  • Nothing pinned = exactly today's order. Nothing else in the app changes.

As you said, you pick the categories β€” nothing is pinned by default.

Test build: https://pixeldrain.com/u/vkW2bBMG

  • If it saves as v.mp4, rename it to playfy-pin-categories.mpp β€” it's the patch bundle, not a video.
  • In Morphe, add it as a local patch source and patch a fresh stock Playfy TV 1.7 APK.
  • ⚠️ Tick the card "Pin favourite categories to the top" β€” it ships switched off for testing, so if you skip this the patch does nothing and everything below will look broken.
  • If the install is refused, uninstall the old Playfy first (patched APKs are re-signed).

On the TV, please check these in order:

  • [ ] Long-press with the remote opens the dialog; Cancel closes it and changes nothing
  • [ ] Pin one β†’ it jumps to the top and the πŸ“Œ shows immediately, no restart
  • [ ] Pin 2–3 more β†’ all of them marked, in the order you pinned them
  • [ ] D-pad still moves normally after the list reorders β€” focus never jumps away or gets lost
  • [ ] Close the app fully, reopen β†’ still pinned, same order
  • [x] Unpin one β†’ it goes back to its original place and the πŸ“Œ disappears immediately
  • [x] Scroll the list fast β†’ no row briefly shows the wrong name
  • [x] Refresh the playlist β†’ pins survive

The remote is the part I can't test on my side, so steps 1 and 4 matter most to me.

If something goes wrong, just tell me: which step number, what you saw instead, and your TV model + Android version β€” I'll fix that step.

A few honest notes:

  • Pins are saved on the device, not on your account, so they won't sync between your TV and phone.
  • This is Playfy only for now. If it holds up on your TV I'll carry the same approach to the other apps.
  • It's a test build, not a release β€” nothing is published until you confirm it behaves.

ginDoki19 avatar Nov 16 '26 02:11 ginDoki19

  • Long-press a category (press and hold OK on the remote) β†’ a small dialog appears: Pin / Cancel
  • The pinned category jumps to the top of the Category list with a πŸ“Œ before its name
  • Pin several: they stay first, in the order you pinned them
  • Survives closing the app and refreshing the playlist
  • Nothing pinned = exactly today's order. Nothing else in the app changes.

As you said, you pick the categories β€” nothing is pinned by default.

Test build: https://pixeldrain.com/u/vkW2bBMG

  • If it saves as v.mp4, rename it to playfy-pin-categories.mpp β€” it's the patch bundle, not a video.
  • In Morphe, add it as a local patch source and patch a fresh stock Playfy TV 1.7 APK.
  • ⚠️ Tick the card "Pin favourite categories to the top" β€” it ships switched off for testing, so if you skip this the patch does nothing and everything below will look broken.
  • If the install is refused, uninstall the old Playfy first (patched APKs are re-signed).

On the TV, please check these in order:

  • [ ] Long-press with the remote opens the dialog; Cancel closes it and changes nothing
  • [ ] Pin one β†’ it jumps to the top and the πŸ“Œ shows immediately, no restart
  • [ ] Pin 2–3 more β†’ all of them marked, in the order you pinned them
  • [ ] D-pad still moves normally after the list reorders β€” focus never jumps away or gets lost
  • [ ] Close the app fully, reopen β†’ still pinned, same order
  • [ ] Unpin one β†’ it goes back to its original place and the πŸ“Œ disappears immediately
  • [ ] Scroll the list fast β†’ no row briefly shows the wrong name
  • [ ] Refresh the playlist β†’ pins survive

The remote is the part I can't test on my side, so steps 1 and 4 matter most to me.

If something goes wrong, just tell me: which step number, what you saw instead, and your TV model + Android version β€” I'll fix that step.

A few honest notes:

  • Pins are saved on the device, not on your account, so they won't sync between your TV and phone.
  • This is Playfy only for now. If it holds up on your TV I'll carry the same approach to the other apps.
  • It's a test build, not a release β€” nothing is published until you confirm it behaves.

Working fine. Thank you so much ❀️. You are great 😊😊 If possible, please include an option change the position of the playlist after pinning. I mean, after pinning 5 to 10 playlists, some need the last one as first, so it's not possible to unpin all playlists. So if possible, please include that as well.

Working video: https://pixeldrain.com/u/2Uo5gncN

lotslove avatar Nov 16 '26 02:11 lotslove

https://pixeldrain.com/u/E9fzrxD2

Try it and let me know

ginDoki19 avatar Nov 16 '26 04:11 ginDoki19

https://pixeldrain.com/u/E9fzrxD2

Try it and let me know

Pin working, reorder not working

Link: https://pixeldrain.com/u/gFPDZDDZ

lotslove avatar Nov 16 '26 04:11 lotslove

The TV is not running the new build. Pinning works there because pinning has existed in every version; the reorder menu simply isn't in the app on that TV.

Here's the proof, from your own recording:

  • At the point where you long-press an already pinned category, the TV shows: title Unpin "JIO TV (IND)"? with two buttons, CANCEL | UNPIN.
  • The new build never draws that box. For a pinned category it opens a four-item list: Move to top / Move up / Move down / Unpin.
  • I checked the file you linked (E9fzrxD2): sha256 3325dadd… β€” that is the current build, so the bundle is fine. The APK installed on the TV is the older one.

So the bundle isn't the problem; the APK on the TV is.

Almost certainly the install didn't actually replace the old app. Both builds carry versionCode 8, and a patched APK is signed with a different key than the one already on the TV. Android refuses that install ("app not installed" / incompatible update) and the old app stays there and keeps opening normally β€” it looks like a successful update.

Please do this on the TV:

  1. Uninstall PLAYFy TV completely (Settings β†’ Apps β†’ PLAYFy TV β†’ Uninstall).
  2. Patch a fresh stock APK with the current bundle, tick "Pin favourite categories to the top", and install that.
  3. Long-press a category that is already pinned.
    • Four lines (Move to top / Move up / Move down / Unpin) β†’ new build, and reorder will work.
    • A two-button box (CANCEL / UNPIN) β†’ still the old build, and we'll know the install is being blocked rather than the patch failing.

Easy way to tell before you even install: in Morphe, the card's description should mention "Move to top / Move up / Move down". If it only talks about pinning and unpinning, the older bundle is loaded.

If after a clean uninstall it still shows the two-button box, tell me and I'll dig further β€” but I'd expect step 3 to settle it.

One unrelated thing I noticed in the video: the Favourites tab. That's built into the app itself (it stores favourite channels in the app's own database) β€” not something the patch added, and separate from the category pins.

ginDoki19 avatar Nov 16 '26 05:11 ginDoki19

The TV is not running the new build. Pinning works there because pinning has existed in every version; the reorder menu simply isn't in the app on that TV.

Here's the proof, from your own recording:

  • At the point where you long-press an already pinned category, the TV shows: title Unpin "JIO TV (IND)"? with two buttons, CANCEL | UNPIN.
  • The new build never draws that box. For a pinned category it opens a four-item list: Move to top / Move up / Move down / Unpin.
  • I checked the file you linked (E9fzrxD2): sha256 3325dadd… β€” that is the current build, so the bundle is fine. The APK installed on the TV is the older one.

So the bundle isn't the problem; the APK on the TV is.

Almost certainly the install didn't actually replace the old app. Both builds carry versionCode 8, and a patched APK is signed with a different key than the one already on the TV. Android refuses that install ("app not installed" / incompatible update) and the old app stays there and keeps opening normally β€” it looks like a successful update.

Please do this on the TV:

  1. Uninstall PLAYFy TV completely (Settings β†’ Apps β†’ PLAYFy TV β†’ Uninstall).
  2. Patch a fresh stock APK with the current bundle, tick "Pin favourite categories to the top", and install that.
  3. Long-press a category that is already pinned.
    • Four lines (Move to top / Move up / Move down / Unpin) β†’ new build, and reorder will work.
    • A two-button box (CANCEL / UNPIN) β†’ still the old build, and we'll know the install is being blocked rather than the patch failing.

Easy way to tell before you even install: in Morphe, the card's description should mention "Move to top / Move up / Move down". If it only talks about pinning and unpinning, the older bundle is loaded.

If after a clean uninstall it still shows the two-button box, tell me and I'll dig further β€” but I'd expect step 3 to settle it.

One unrelated thing I noticed in the video: the Favourites tab. That's built into the app itself (it stores favourite channels in the app's own database) β€” not something the patch added, and separate from the category pins.

Thank you, it's working 😊❀️.

One suggestion: instead of β€œMove up,” use β€œMove left”; β€œMove down,” use β€œMove right.”

lotslove avatar Nov 16 '26 06:11 lotslove

It's just test version. I will fix those.

ginDoki19 avatar Nov 16 '26 08:11 ginDoki19

It's just test version. I will fix those.

If possible, please include moving up and moving down. I mean, if I select a playlist in the 3rd row, it can move to the 2nd row exactly above it by using it. Similarly, from the 2nd row to the 1st row. The top bar is fine; you can maintain it. 😊

lotslove avatar Nov 16 '26 08:11 lotslove

Here's a test build with the left/right naming and the new Arrange mode. It is one file for both TV and phone β€” install it on either, the same menu works and it picks up the remote or the touchscreen by itself.

Download: https://pixeldrain.com/u/gk1zLw9Y

⚠️ Uninstall the old version first. Android will not let this one install over the last test build and may give you a plain "app not installed" without saying why. Remove it, then install this fresh.

In the patcher, turn on "Pin favourite categories to the top". Nothing else needs changing.


On the TV

  1. Pin one. Long-press OK on any category β†’ Pin. It should jump to the front with a πŸ“Œ in front of its name.
  2. Move it one step. Long-press it β†’ Move left / Move right. One step each time.
  3. Use Arrange. Long-press it β†’ Arrange. The card shows β—€β–Ά and a small hint appears. Now press left / right β€” the card should move one place per press, no menu each time. Press OK to finish: it should say "Position saved".
  4. The remote must not get lost. While arranging, keep pressing left several times β€” the highlight should stay on that same card the whole way, never jump away or disappear.
  5. Leave it. Long-press the card again while arranging β†’ the menu should offer Done instead of Arrange. Press Back instead of OK once, and it should leave without moving anything further.
  6. Unpin. Long-press β†’ Unpin. It should go back to where it normally sits. Unpin everything and the list should be exactly as the app came.
  7. Restart the app. Your order should still be there.

On the phone

  1. Pin one. Long-press a category β†’ Pin. Same πŸ“Œ and it goes to the front.
  2. Arrange by swipe. Long-press it β†’ Arrange. Now swipe left / right on the card β€” it should move one place per swipe.
  3. A tap still opens the category. While arranging, tap the card: it should open as usual, not move. (That also ends Arrange β€” long-press β†’ Arrange again to carry on.)
  4. A gentle side-drag must not move anything. Scrolling the list sideways a little should not throw a card somewhere else.
  5. Finish on a phone. Long-press β†’ Done. A phone has no OK key, so that is the way out.
  6. Scrolling still works. Up and down should scroll the grid exactly as before.
  7. Restart the app. Order should survive.

Both

  • If the app can search or filter the categories, pinned ones should still be at the top of the results.
  • Nothing should crash, freeze, or make the list jump around on its own.

If something is wrong, this is all I need

  • TV or phone (and the Android version).
  • Which step number above.
  • What you expected, and what happened instead.
  • A short screen recording if you can β€” a phone recording of the screen is enough.

ginDoki19 avatar Nov 16 '26 12:11 ginDoki19

Android TV:

Β· Working fine Β· No problem so far Β· Thank you for implementing the Arrange function

Phone:

Β· All other functions except Arrange are working

I think if Arrange is there, there is no need for left and right. So the only requirement is Top and Arrange. But arrange need to work on Android Phone.

lotslove avatar Nov 16 '26 13:11 lotslove

Android TV:

Β· Working fine Β· No problem so far Β· Thank you for implementing the Arrange function

Phone:

Β· All other functions except Arrange are working

I think if Arrange is there, there is no need for left and right. So the only requirement is Top and Arrange. But arrange need to work on Android Phone.

Arrange not working on phone.

lotslove avatar Nov 16 '26 13:11 lotslove

Ok got it.

ginDoki19 avatar Nov 16 '26 13:11 ginDoki19

No matter what I try I can't refine it enough. The code of the native app isn't that much helpful in that regard.

ginDoki19 avatar Nov 18 '26 11:11 ginDoki19

No matter what I try I can't refine it enough. The code of the native app isn't that much helpful in that regard.

Is it for mobile? I think pinning is not necessary for mobile.

lotslove avatar Nov 18 '26 11:11 lotslove

No matter what I try I can't refine it enough. The code of the native app isn't that much helpful in that regard.

Is it for mobile? I think pinning is not necessary for mobile.

Only for AndroidTV it helpful 😊

lotslove avatar Nov 18 '26 11:11 lotslove

No matter what I try I can't refine it enough. The code of the native app isn't that much helpful in that regard.

Is it for mobile? I think pinning is not necessary for mobile.

Pinning is ok. The problem is arranging the pinned category. I think I should just support arrange for tv and only pin for android.

ginDoki19 avatar Nov 18 '26 11:11 ginDoki19

No matter what I try I can't refine it enough. The code of the native app isn't that much helpful in that regard.

Is it for mobile? I think pinning is not necessary for mobile.

Pinning is ok. The problem is arranging the pinned category. I think I should just support arrange for tv and only pin for android.

Its okayπŸ‘ You can release with Android TV pinning and later we can work with Android Mobile.

lotslove avatar Nov 18 '26 11:11 lotslove