-
Notifications
You must be signed in to change notification settings - Fork 12
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
[feat] Playlists #10
Comments
Hi, Thanks a lot for opening the issue, and most importantly for all the great ideas and suggestions. To address every point :
Thanks a lot once again, and let me know if you see anything else! Looking forward to releasing those great features very soon. |
Looking forward to seeing the new features. |
# [1.11.0](v1.10.3...v1.11.0) (2024-10-25) ### Bug Fixes * **cache:** fixed caching mechanism broken due to random shuffling in the first place ([69c50db](69c50db)) ### Features * **client:** added double-tap-to-toggle fullscreen feature ([43b26d9](43b26d9)), closes [#10](#10) * **project:** added support for playlists with UI navigation and auto-discovery on the server ([09daea9](09daea9)), closes [#10](#10)
Just released the new features! You can pull the latest image. There is now a new button dedicated to viewing the playlists that were discovered on disk, and you can easily browse through any of them by tapping the button, and picking a playlist. (I thought initially that a gesture-based navigation would be simpler, but I was wrong, or so I believe now. I concluded that adding a fourth button wouldn't be an issue for anyone, and would make using the app easier than introducing a new hand gesture). Additionally, you now have three double-tap mechanisms : seek backward, enter / exit fullscreen, and seek forward, depending on which third of the screen you double-tapped. Hoping that it works smoothly on your end, and meets the initial demand! Edit : Should the controls be hidden in fullscreen mode? |
Thank for such a quick update ! I just pulled the latest image, and agree that the current implementation for browsing the folders is clean and easy to use with the button there. The double tap features are good too. Just want to see what your thought on this is - I guess sometimes the pause and full screen being center-tap based is a bit hit/miss, but thats a minor thing imo, so the current implementation for this is good. I noticed few issues -
If these issues are sorted, I think the current implementation is pretty good for covering the playlist feature.
Is it possible to hide controls in full screen but show them on mouse move ? Would be nice to see controls easily without having to exit full screen, but it will be nice to have them hidden if there is no mouse activity for x seconds. |
Thanks to you for the feedback, all the ideas, and reporting back on the issues! About :
Once again, thanks a lot. It's very enjoyable to see what the app is becoming. |
Thanks for the reply !
Yes, that sounds perfectly fine, and should make it clear to user. For the folder structure - Most files have non-english (asian languages) characters in the file names. Does that cause any issues ?
No, that is not the case. Most files are videos from phone sitting in one folder. I have created folders and renamed files based on location of the trip, or events or something or some description, etc. There are no json files created, just videos in folders. Thanks again for all your work and effort & Cheers ! |
# [1.12.0](v1.11.0...v1.12.0) (2024-10-26) ### Bug Fixes * **playlists:** added support for Asian (and non-ascii) characters in general ([61de3b5](61de3b5)), closes [#10](#10) ### Features * **client:** added (OS-based) dark theme support for playlist and blacklist managers ([b1b98d1](b1b98d1)), closes [#10](#10) * **client:** added a dedicated play/pause button to replace the tap-to-pause gesture ([cbcbeeb](cbcbeeb)), closes [#10](#10) * **client:** added collapsible navigation in fullscreen mode, with mouse move activation ([4023e7d](4023e7d)), closes [#10](#10)
Alright, thanks a lot once again. You were absolutely correct for the Asian characters! I have just published a new release that includes everything discussed :
You can pull the latest image, and I hope that everything works way better now! |
@will-moss - awesome and that was quick ! All the above points are working well as expected. I have found that I have a few files with emoji and "%" in the files names. Looks like these files names need fixing as they still show up as individual files in the file browser - hopefully the last fix for this feature ! Thanks a ton for all your efforts ! |
## [1.12.1](v1.12.0...v1.12.1) (2024-10-27) ### Bug Fixes * **encoding:** added support for emojis in the playlists' and files' name ([464b199](464b199)), closes [#10](#10)
## [1.12.2](v1.12.1...v1.12.2) (2024-10-27) ### Bug Fixes * **encoding:** added support for special symbols and percents in the playlists' and files' name ([d05719a](d05719a)), closes [#10](#10)
Alright, thanks a lot for your feedback. I have just published (what I believe to be) the final fixes. I have tested using percent symbols, cyrillic and asian characters, and emojis too, and everything looks fine. Crossing my fingers that it all works fine on your end. |
@will-moss - thanks again for all your effort ! Looks like a older issue might have been re-introduced, I see all files listed in the folder browser, even ones with spaces, underscores, etc, which were working before. Edit - All files with spaces in them are now showing with a "%20" in the file name. I see many other such characters as well probably for underscores or other characters. |
Erm, really sorry for that! Is there any chance you could run The characters that are weirdly displayed are either Cyrillic, Asian, or Emojis. If I could reproduce your folder structure, it'd be easier to find what's causing issues on your end. Thanks a lot once again. Edit : I have just tried adding random spaces, dashes, and other symbols, and I really can't seem to reproduce any issue. Could it have anything to do with your cache maybe? |
I think it might be something to do with commas in file names ? I am using this opportunity to clean up my files names as well (I dont think its fair to keep this issue open because some random character in some old file name might be causing the issue). I found a project called detox which removes "not-preferred" characters in the files names, but it doesn't seem to remove commas and multiple dots in files names. I still see the issue after running detox on all my photos and videos files, though the number of files in the files browser has drastically decreased now. I will try to narrow it down further from end. |
…to better support every chars re #10
## [1.12.3](v1.12.2...v1.12.3) (2024-10-28) ### Bug Fixes * **encoding:** fixed and rewrote playlist identification and linking to better support every chars ([8f32876](8f32876)), closes [#10](#10)
You were absolutely right, once again! Thanks a lot for your time and investigation. I have just tried stress-testing my system using filenames with every character combination that I could think of, and it seems that commas were the culprit. I have just published a new fix that changes the way playlists are identified and linked, and I think that it should work seamlessly now (or until proven otherwise !!) The only limitation that I think can't be / shouldn't be circumvented is the presence of hashes (#) in the filename. Since this symbol is used for browser anchors, I think it shouldn't be used in filenames altogether. Otherwise, do you see a use-case for that symbol? Thanks a ton once again, and hoping that it works better on your end now. Edit : Forgot to mention that I don't mind working on that issue, so long as it becomes beneficial to every future user! |
Thanks ! The playlist browser is totally fine now, even though I have not yet fully finished my cleanup of files names. I have made sure to remove the # from filenames. Thank you for the fixes. It seems like there is one more issue - videos playing are not just from the selected playlist though. lets assume a folder structure -
and in docker-compose, the root folder is mounted to erin - And that erin is behind a reverse proxy (caddy-docker-proxy) - for the site In folder browser, when I hover over playlist Should the url be changing to Even when I try to open the url Is there a different issue with only picking up the files from a selected folder ? Edits - I fixed the example urls and folders to accurately depict the issue. |
Update 1 : I reproduced the issue. I am working on it. Very sorry for the inconvenience. Update 2 : You can ignore the text below, and jump to my latest comment. Alright, thanks for reporting back, and I'm glad one issue is sorted. As for the playlist-filtering not working, I'll try to help :
I can't reproduce the issue locally so far, but I'll try and send you a video of my setup. |
## [1.12.4](v1.12.3...v1.12.4) (2024-10-28) ### Bug Fixes * **server:** edited Caddy configuration to support playlists rather than redirect 404 ([b0977b4](b0977b4)), closes [#10](#10)
This was entirely my bad. In my local development environment, I try to be as close to production as possible when I run my tests, but I failed on that one. The issue stemed from the fact that Caddy was configured to redirect all 404s to the home page. But playlists aren't "real 404s", so the configuration had to be slightly edited to prevent that redirection from happening. I think you can pull the latest image, and never read from me again! Extremely sorry once again for the time wasted, and hoping that it works now. (I have pulled the image myself on a new VPS to be 100% sure). |
The latest image has got everything working fine ! I think you have now created a nicely done playlists feature in erin !
LOL, I find your speedy replies and fixes rather amazing. Really appreciate your effort, cheers ! |
I saw this post on reddit and immediately thought erin could probably include this feature.
My understanding is that, in erin, the folder structure already serves as a sort of playlist.
What could be potentially added are visual cues about the playlist, along with features to allow some reasonable level of navigation and auto playback.
I am thinking -
I understand the reddit post is also looking for a way to continue the streaming from a specific point as someone else viewing / or time based, but I am not sure if something like that can be implemented here. I am just thinking of some feature that might be useful in erin.
Would you consider if any of these features belong in erin ?
Looking forward to hearing your thoughts / ideas.
The text was updated successfully, but these errors were encountered: