-
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Share Lizzy playlist implementation #144
Conversation
🛠 Lift Auto-fixSome of the Lift findings in this PR can be automatically fixed. You can download and apply these changes in your local project directory of your branch to review the suggestions before committing.1 # Download the patch
curl https://lift.sonatype.com/api/patch/github.com/Borewit/listFix/144.diff -o lift-autofixes.diff
# Apply the patch with git
git apply lift-autofixes.diff
# Review the changes
git diff Want it all in a single command? Open a terminal in your project's directory and copy and paste the following command: curl https://lift.sonatype.com/api/patch/github.com/Borewit/listFix/144.diff | git apply Once you're satisfied, commit and push your changes in your project. Footnotes |
@touwys, sorry for working a bit out of sync. I hope the description of this PR gives you a bit of understanding why I need to make this drastic changes. Test version relfecting these changes: listFix_2.6.0-PR144-35.exe. Please backup your valuable playlist files before touching them with this version. Special points of attention (things which may have broken):
|
No problem. I did notice that you removed a lot of code for listFix(), and that's about it. I can see you removed a lot of code for listFix(), and that's about it. As for the rest, I am just guessing what is going on. I do not have a proper understanding of just how Lizzy fits into your plans — as far as liftFix() is concerned. I can only assume that Lizzy will be somehow used for converting playlist formats upon exporting them.
Thanks for the heads-up. ℹ️ Borewit: The downloading of the files you upload to MediaFire sometimes takes much, much too long — as previously noted. I think they throttle unregistered clients, as and when required. The projected download time for the current file (74.34 MB), is a crazy, approx. 2 hours — and that is not taking unexpected power interruptions into account, of which we've had several today, already. Since this is the case, I again strongly suggest that we test another service provider, such as Workupload., and then let's see if we can gain on the download speed. Please, upload this same file there, so I can test the viability of their service? |
Testing: listFix_2.6.0-PR144-35
I stopped testing at his point to wait for further instructions? • Screenshot A Screenshot B |
2f0bfde
to
b397971
Compare
What?! 8 kB/s?... Although playlists belong to the 90's, let's not get stuck with the the download speed of those days! The current distribution is about 80 MB, it should technically be possible to bring that back to ~25 MB, if we find a way to wrap the compiled distribution in an installer. Updated distribution (despite the same name, not the same as previous release!) listFix_2.6.0-35.exe |
OK, thanks. This time the download took only a few minutes. Let's hope it stays that way. Only time will tell, because there are many outside factors that also infuence the quality of local operations. I aim to test the latest build, tomorrow. |
b397971
to
d178d44
Compare
I did some more work. I improved the save-as dialog, automatically adjusting the file extension based the file-type choosed. Loading works well, looks like some file formats do no save properly and resulting in empty playlists. |
👍🏻 That you have added support for Lizzy, is truly beneficial. I realise the very usefulness of its deployment. However, how do you propose I should go ahead and test Lizzy's features, because I am really only using one small fraction of its formats, that is, m3u? 🚀 It was a nice, faster file download from workupload.com. Thanks. |
Testing: listFix_2.6.0-35 1. Playlist Editor: 1.1 1.2 The playlist layout (the sequence, plus the one last active) is not restored at the restart. 2. 2.1 2.2 3. Editing a Playlist > Context Menu: 3.1 3.2 I did not proceed with the test, beyond the aforesaid. ℹ️ 👉🏻 Adding the following result: After saving a newly created playlist to another format, and adding it back to the PLE by dragging and dropping it, it fails — view the screenshot below for the error message: • |
@Borewit : Please note that the playlist tab titles still disappear when changing |
We are probably decades beyond the real added value of supporting those ancient playlist formats. The most exotic ones already I kicked out. Yet I felt the need to preserve the other, also because there are no existing Java modules for this. The good thing is that I changed listFix so that it is now almost irrelevant what the underlying playlist format. Maybe one day I add feature which allows to import Spotify playlists, which essentially would allow to convert the online playlist to an offline playlist.
No worries. I can cover a lot of that with unit tests. |
d178d44
to
4cf8eea
Compare
I will try to resolve that in another PR. This version should address issues introduced with this PR: listFix_2.6.0-35.exe |
d3d75e1
to
3a188f2
Compare
I think that you should not worry about this too much, since we discussed previously that the "Themes", as a GUI, do not have much bearing on the more essential operations. I only mentioned it in passing as a reminder that is still broken, thinking that you may want to investigate to see if the interference is related to the current PR-development issues. Normally, I very seldom fiddle with the Themes.
❓ This file is not available to download. Did you withdraw it? |
This file is not available to download. Did you withdraw it? • Off-topic: I noticed that you also wrote this Musicbrainz-API. Is it perhaps the one that is also utilised by Mp3tag? |
That link is working just fine. In addition to that, here is the very latest listFix_2.6.0-35.exe. Minor change, I formally released Lizzy 2.0.0 and depend now on that released version. As I keep overwriting the commit of this PR, the commit distance, 35, (version) remains the same.
I don't think so, Mp3tag existed long before I wrote Musicbrainz-API. I also wrote music-metadata most popular JavaScript music metadata parser (used in almost 25000 open source projects, but also shipped in high end audio equipment) and I am the main contributor file-type (1.7 million open source project have been using that). To bad I can not utilize them in listFix as they are written in a different language. |
You're right, the link works just fine. I tracked the problem down to a new ad-blocker extension I installed for the browser. I am downloading the latest build now. Download speed is down again, just like it was with MediaFire. Nothing to be done, so it seems, so I will stick at it out for a time to see what gives.
👍🏻 I saw some of those on your profile. You are indeed a very prolific developer. I am also very glad that you decided to take another look at oldie listFix() — 😀. I do hope that you get to smooth out all its wrinkles early on, and I am happy to assist you where I can. Are you a full-time programmer/developer, employed in a corporate environment? |
Testing listFix_2.6.0-35
Observations | Reminders:
Testing did not go beyond the aforesaid; waiting for the fix. • |
Remove all internal marshalling and unmarshalling of playlists, use Lizzy module instead. Update to dependency `io.github.borewit:lizzy` to version 2.0.0
362b85a
to
c69775a
Compare
Fixed:
I fixed a bug which would result in an invalid play-playlist, which could explain the issues you had playing back.
You can only drop directories in that component, it does not make sense to me to accept playlists. What should the playlist directory panel do with a playlist? You can drag playlists into the editor. Anyway, out of scope of this PR. Would you mind to perform another regression test? As long this PR does not introduce new issues, it is good to go. listFix_2.6.0-41.exe on WeTransfer |
Indeed, but the days I am really doing some hands-on coding are gone. Nowadays I mostly do management work, software architecture and leading a small development team. |
@touwys do you have time to review this? Otherwise I proceed with merging. |
listFix_2.6.0-41 ✔️ Both items now fixed. • Comments & Observations
|
Thanks for your review @touwys
Okay
But that has been implemented in
I agree. Micro change, but I do it in a different PR, so we have the change documented.
If you close all playlists, you can still drag playlists into the editor. The only difference is, that you are not asked to insert the playlists into the active playlists. I think I have done that as part of PR #136. Not sure to which items you refer with "both items now fixed", are these 2 also addressed:
If not, can you help me to reproduce the problems? |
And I noticed an error in your log file, this one is most likely introduced in this PR:
|
I am referring to Media folders getting dragged into the Media Directories Panel. #117 refers to the Playlist Directory Panel?
Not so, if the closed playlists were originally dragged from windows explorer, and not the Playlist Directory Panel.
My statement follows directly under the screenshot above it, in which the 1st and 4th items that are checkmarked. These two are now fixed.
I will surely do. Both the aforesaid are broken. What do you need from me to be able to reproduce the error? Do screen videos help, or is there something else you need me to do? |
I am not at the PC again, until tomorrow. Does it refer to the action |
Fixed 2 issues: listFix_2.6.0-43.exe I made small change in playing matched entries, I directly open the audio track instead of wrapping it in a temporary playlist (m3u) and opening that one. I think that is a bit old school. So if you see different behavior opening the track from there, that is why. |
Review: listFix_2.6.0-43 ✔️ Summary: All the issues listed in the screenshot below, are now fixed.
Good work, this made a considerable difference: If I am not mistaken, the default player is called notably faster. Previously, this process was quite sluggish. • What's up next? |
Makes total sense to add that. I was convinced I already implemented that, but I checked both the default branch and this branch, and as you said, this is not possible yet.
I propose to:
In principal only address bugs and very low hanging fruit, and then release. |
Looking good! On item 2 above: is this particular change at all related to the efficiency of the maching tracks search engine? Because, if it is, will it not be worthwhile to wait until you have improved the search accuracy to get better matches? Refer to: #120 Miscellaneous:
Happy weekend! |
I am not aware of any highlight function, maybe you mean: |
My bad, I meant colour highlighting of any text, for example, in bbcode, like this:
Github seems to not allow text colour formatting, bar under very special circumstances. |
I see what you mean, but I don't think I am using that or that it available. Are you sure you had no open search query in your browser, which highlighting the text searched? |
An example of the text highlighting is visible at the one of the preceding messages in this very string: Screenshot I conclude that the text colour highlighting is probably auto-generated by Git. Thanks for your input. |
Changes:
io.github.borewit:lizzy
.asx
,.wmx
,.wax
Advanced Stream Redirector (ASX).atom
Atom Document, RFC4287.b4s
Winamp playlist versions 3 and later.m3u
,.m3u8
,.m4u
Winamp M3U.mpcpl
Media Player Classic Playlist.pla
iRiver iQuickList File.plist
,.xml
Property list, iTunes Library File.plp
Sansa Playlist File.pls
Winamp PLSv2 Playlist.ram
Real Audio Metadata (RAM).rmp
Real Metadata Package (RMP).rss
RSS Document.smil
Synchronized Multimedia Integration Language (SMIL), W3C |.wpl
Windows Media Player Playlist (WPL).xspf
XML Shareable Playlist Format (XSPF)Motivates:
Resolves:
ToDo: