-
-
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
Support for multiple playlist folders #93
Conversation
7224c39
to
18f65db
Compare
Build: listFix_2.5.1-PR93-28.exe, commit 18f65db |
18f65db
to
5f0fb1b
Compare
I am onto it, today. 😅 |
Build listFix_2.5.1-PR93-28: Initial Test Steps:
— 3.1 Media Directories are missing in display. (Screenshot). — 3.2 Playlist Directories are on display. (Screenshot).
— 5.1 The 12 tab-titles of the playlists (5) were still marred by "double-printing", effectively handicapping the repair process. However, we may, at last, be onto something? — See 5.2. (Screenshot). — 5.2 Even though the Media Directory was empty, playlists could still be repaired — because the closest matches for the missing were still getting acquired. (Screenshot). • |
Should we post a separate issue for this item? |
I renamed a method internally, by doing that I forgot it also effected the configuration file format. I will fix that. Good catch.
I don't think I have changed anything, other then renaming the button from "Set" to "Add".
Ah yes, all the underlying directories and files are cached in the configuration. As those were still present, the repair process still works. I moved the media directories from |
No, this PR is not merged (still open). As the issue is introduced with this PR, the way to deal with with it is to resolve it in this PR. |
5f0fb1b
to
63c42fc
Compare
This build listFix_2.5.1-PR93-31.exe should resolve some side effects introduced with the multi playlist directories support:
If you use the config files from |
Testing Build: listFix_2.5.1-PR93-31 This build was installed over build listFix_2.5.1-PR94-30.
— It did not.
— Did you perhaps you mean Media Directories? — It also did not display the additional Playlist Directory that I added in listFix_2.5.1-PR94-30.
— Do you want me to go back and install this build again? I still do not know in what the specific sequence is you want me to install the builds? Note the screenshots: Double-printed tab-titles are back? 😥 • |
d97ad8b
to
770c6d7
Compare
Okay @touwys, I have done another drastic round of refactoring listFix_2.5.1-PR93-36.exe, changed in total 1800 lines of code 😓. There is a high probability I broke some things, but there is also a high probability I fixed the infamous #55 issue.
|
@Borewit : 👍🏻 Wow, you broke a lot of sweat over this one. May it deliver the expected results. Please tell me whether you took the results of #94 (comment) into consideration when you rewrote all that bunch of code — because the "double-printed" tab-titles were "fixed" in that build?
❓ #55 was "fixed"? See: #94 (comment)
🤔 Uncertain what you mean by this. Would you, please, elaborate? |
I only found your comments after I did the code rewrite. But the versions in #94, are not real solutions.
Scope of this PR was Support for multiple playlist folders and I ended improving / refactoring code in a lot's of area's. Ideally we maintian software in ordered way (the boxes). Let's pretend this software is a car. If there is an issue with the exhaust, we fix the exhaust. We don't give it new tires, bigger navigaton screen etc. That way the tester knows he can just focus on the exhaust... Yet this code is far from perfect, so requires some drastic iterations to get in into shape. So the ideal flow workflow should be like: Issue (broken exhaust) ➽ PR/branch we try to fix the exhaust, on a branch (~copy) of the car ➽ Test PR (the repaired exhaust) until okay ➽ Merge: we put repaired exhaust fix on the real car (which is the same as, we replace the car with the fixed copy of the car). |
Testing: listFix_2.5.1-PR94-31 I read your reply above only after completing the initial testing of Testing: listFix_2.5.1-PR94-31:
See the "boxed" steps in testing listFix_2.5.1-PR93-36, below — especially (6.1). Hopefully, these will give you the answers you're looking for. Let me know if it doesn't, and I will continue upon receiving your follow-up instructions.
Are you referring to PL-Tab / Context Menu / "Copy Selected Items To..."?. If you are, I did test that, and the action copies the selected files to the folder of your choice. ____________________________________________ TESTING: listFix_2.5.1-PR93-36
ℹ️ 2.1 The json configuration files of listFix_2.5.1-PR94-31 were retained for the test.
ℹ️ 3.1 Media & Playlist Directories from the previous installation are displayed.
ℹ️ 4.1 PLD (Folder) / Context Menu / "Remove Playlist Directory" — =fail. ℹ️ 4.2 PLD (Folder) / Context Menu / "Rename" — pass. (This action invokes the intermediate "Rename Selected Files & Folders?" dialogue.) ℹ️ 4.3 Rename Playlist (PL) after the PLD name change — =fail. ℹ️ 4.4 Rename the PLD — back to its original name. ℹ️ 4.5 Rename PL in PLD — =pass.
ℹ️ 5.1 Rename PL — =pass.
ℹ️ 6.1 Congratulations & jubilations! The tab-titles display without the layered text/"double-print". ℹ️ 6.2 New, weird thing spotted with tab-titles: Clicking on the tab-title (the text part), fails to switch focus to the selected tab. However, clicking to the side of the tab-title (the part void of text) does switch the focus to that tab.
• |
Thanks or testing @touwys. I am very glad #55 is history. Build: listFix_2.5.1-PR93-40.exe Please let me know if I missed something, or left something broken @touwys. |
Thanks, I have to go off-line just now. Downloaded, and did one quick test with Build listFix_2.5.1-PR93-40, if you wish to take another look at the issue in the meantime: ℹ️ — Clicking on a Playlist Tab, does not change the focus to the selected tab. |
FIxed in this one: listFix_2.5.1-PR93-41.exe |
bd063e4
to
0488e49
Compare
Previous build fails to activate the tab after the playlist has been renamed. Fixed that one: listFix_2.5.1-PR93-42.exe |
Testing Build: listFix_2.5.1-PR93-42 Configuration files and log from build listFix_2.5.1-93-40 were retained. Herewith, a brief summary of test results:
ℹ️ 1.1 Fixed: Clicking on the PL tab-title, now do change the focus to the one selected.
ℹ️ 2.1 The "Rename" action is now greyed out. PLD's thus unavailable for renaming?
ℹ️ 3.1 PLD subfolders/directories: "Rename" — is not greyed out. Can be renamed.
ℹ️ 4.1 PL's in the PLD's can be renamed.
ℹ️ 5.1 At first, there were no correlation between the PL tab-titles now open in the PLE, and the PL-names which are displayed in the PLD. The relationship between the PL-names shown in the PLD, and the PL-names displayed in the PLE tabs, were not maintained to mirror each other. However, for some reason, after closing the app and restarting it, this name-relationship was correctly maintained during the renaming process?
ℹ️ 6.1 Deleting a file located in the PLD, does not remove/clear the corresponding PL/tab in the PLE. |
I did change that behavior indeed. My initial aim was to remove the question, do you really want to rename? I think that initial dialog was in place as possibly the renaming could apply to multiple files, go in through potentially a long loop of opening dialogs. Well, I think it more effective to only allow a playlist to be renamed. Hence I disabled the option to rename if more then one playlist is selected. In addition to that, I disabled renaming the playlist folder, it could trigger all sorts of side effects.
My aim is to keep tab name in sync with the playlist filename. So renaming a playlist filename, should result in a change in filename in the tab. |
Fixed that: listFix_2.5.1-PR93-44 |
Testing: listFix_2.5.1-PR93-44
👍🏻 Fixed! This old car exhaust "box" doesn't backfire any more. 🤣
ℹ️ Yes, I do. (Also read my comment at your last quote, below.)
ℹ️ Yes, I agree — even though the need does arise, and maybe more often so than generally recognized. However, unless it is really easy to implement the multi-rename action, it is not something to focus on — at least not right now. Maybe later on? Regardless, it is quick enough to use an external rename app for this process.
ℹ️ I assume by "only allow a playlist to be renamed" you mean that to the exclusion of all folders/directories? If so, please reconsider to reactivate this very useful function to rename the root-folders/directories — if only for the sake of consistency — because sub-folders of the root-folders/directories can still be renamed. Testing on this build is still ongoing. |
Agreed.
This time the testing may take a while longer than usual. Nonetheless, I will continue to report issues — if any — as they surface during use. |
Decreased log level, to rolling log file, to INFO
…raction from GUIScreen
cbfb91a
to
99ca28e
Compare
Merged PR's
Which I forgot about. I "rebased" this PR on top of those, that's why you see long list of changes before this message. |
OK, so these are already contained in the build I am testing? |
No, will provide you a new build with those + disabling renaming of subfolders |
Build: listFix_2.5.1-PR93-49.exe |
Testing — listFix_2.5.1-PR93-49:
|
Any improvement with this one? listFix_2.5.1-PR93-50.exe |
The download from MediaFire appears to be throttled and is failing. Perhaps network connection problems. If you wish, please upload the file to these sites as well, so I can test them all for speed? • Ufile Thanks. |
Fixed. |
Awesome!
We only use that for intermediate builds, proper build shall be uploaded directly to GitHub. |
Part of release v2.6.0 |
Great work, great determination, thank you! |
Changes:
Resolves #68, #55, #91