python-for-android icon indicating copy to clipboard operation
python-for-android copied to clipboard

⬆️ version: Updated `ffpyplayer` version and url

Open FilipeMarch opened this issue 2 years ago • 12 comments

Updated the ffpyplayer version from 4.3.2 (2020) to the latest release (2023). Also updated the url.

I'm already using the version ffpyplayer 4.4.0 on computer and on my phone (on my Kivy app), and it works fine on both.

FilipeMarch avatar Feb 23 '23 16:02 FilipeMarch

Hi @FilipeMarch and @DexerBR !

Actually https://github.com/matham/ffpyplayer/archive/{version}.zip format gives the user more control without the need of specifying a custom URL that https://github.com/matham/ffpyplayer/archive/refs/tags/v{version}.zip gives not.

As an example: ffpyplayer==master, ffpyplayer==c3e721f0379eca393c8d1796ff3808157f4a37d3

This (version pinning, maybe being consistent with PyPi packages) is something I think should be improved in the future, but in order to avoid breakages for people targeting ==master on their buildozer.spec files, can we switch back to the previous format?

misl6 avatar Feb 25 '23 10:02 misl6

Hi @misl6!

I understand your point, but https://github.com/matham/ffpyplayer/archive/4.4.0.zip is returning a 404: Not Found, that's because it needs the v (https://github.com/matham/ffpyplayer/archive/v4.4.0.zip). How to get around this, taking into account what you mentioned?

DexerBR avatar Feb 25 '23 14:02 DexerBR

Hi @FilipeMarch and @DexerBR

We had a very similar issue and discussion here: https://github.com/kivy/kivy-ios/pull/716/files

Then, we decided to keep the v into the version parameter, and not in the URL, so a user can potentially target the master.zip without any issue.

misl6 avatar Mar 12 '23 15:03 misl6

Hi @FilipeMarch and @DexerBR

We had a very similar issue and discussion here: https://github.com/kivy/kivy-ios/pull/716/files

Then, we decided to keep the v into the version parameter, and not in the URL, so a user can potentially target the master.zip without any issue.

Hi @misl6! So it seems ok to me! But perhaps in the future it will be worth dealing with version numbers without the v prefix, or maybe document the behavior.

DexerBR avatar Mar 12 '23 16:03 DexerBR

Hi @FilipeMarch ,

Are you still interested in getting this PR merged? 🥰

If yes, can you please address the requested changes and rebase on top of latest develop branch?

misl6 avatar Nov 21 '23 18:11 misl6

Hi @FilipeMarch ,

Are you still interested in getting this PR merged? 🥰

If yes, can you please address the requested changes and rebase on top of latest develop branch?

Yes, I had forgotten this PR for a long time, I will make the requested changes, give me some time

FilipeMarch avatar Nov 21 '23 20:11 FilipeMarch

@FilipeMarch By the way, I think there is a newer version of ffpyplayer now

DexerBR avatar Nov 21 '23 20:11 DexerBR

Hey can we see this get merged please? Really needing a newer version of ffpyplayer in the python-for-android recipes, it has stopped working since SDL and Kivy recipes were updated. I'm choosing not to specifiy versioning in my spec so I'm relying on the master recipes being up to date. Thanks!

elise1983 avatar Jan 04 '24 14:01 elise1983

I'm sorry for being so slow on this, I'll try to see it this weekend

FilipeMarch avatar Jan 05 '24 04:01 FilipeMarch

When this gets updated can we look at the dependencies being updated too? FFMpeg etc?

elise1983 avatar Feb 02 '24 21:02 elise1983

Hi @FilipeMarch We're almost there, we probably just need the rebase, it's fine if we don't bump the version again if you don't have time to test it. All we need is a rebase.

git pull --rebase upstream develop # assuming the remote is called upstream

Ping me on Discord if you need guidance on the Git side.

AndreMiras avatar Mar 09 '24 19:03 AndreMiras

can anyone please show me a buildozer.spec that lists ffpyplayer as a requirement and how to include recipes for it. I cannot find any buildozer.spec file that includes a recipe anywhere.

nheffelman avatar Mar 18 '24 00:03 nheffelman