sircharlo / meeting-media-manager

A cross platform app to download and present media (pictures and videos) for congregation meetings of Jehovah’s Witnesses in any language. Features include recurring and custom media management, congregation sync, and media presentation tools for hybrid, in-person or fully remote Zoom meetings.
GNU Affero General Public License v3.0
133 stars 23 forks source link

[Feature]: Shared Media Cache #990

Closed danielengels closed 1 year ago

danielengels commented 1 year ago

Is your feature request related to a problem?

We share our hall with another assembly. Everyone has their own Windows account because we do different things with it. Unfortunately our internet connection is very bad. So downloading the media is quite time-consuming. So far, we have often brought the media with us from home. Both assemblies now want to use the Meeting Media Manager. Is it somehow possible to share the media cache. Then one meeting would benefit from the media cache of the other meeting.

Describe the solution you'd like

It would be good to select the media cache folder to have it in one place where both windows users can use it? Maybe like the media folder for presenting the media

Describe alternatives you've considered

Maybe we could use one windows user again - but there a some things we do different and no one, want to change settings from the other.

Additional context

No response

mtdvlpr commented 1 year ago

Hi @danielengels, I have not tried this myself yet, but have you tried installing M³ system-wide instead of only for the current user? I would imagine that the application (along with the cache) would be installed in a shared location.

danielengels commented 1 year ago

Hi @mtdvlpr, I play a little arround - this option only change, where the software itself is installed. On Windows this changes from Program Files (system-wide) to %appdata%/local/programs (user installation). And you don't need admin rights, when you don't install system-wide but this depends on the installation path.

mtdvlpr commented 1 year ago

@danielengels, alright, thanks for trying. In that case we can definitely add an option to overwrite the default location for publication cache! Will keep you posted here.

mtdvlpr commented 1 year ago

Hi @danielengels, I have a version for you to test out. You can find it here. You can set a custom cache location in the settings which will migrate the existing cache to the new location.

danielengels commented 1 year ago

Hi Manoah, seems to work quiet well. But there are two things I don't know what happens.

  1. The download is much faster, as they uses the same cache. But at the end of the new download each congregation have to download something. But it is still much much less then before. To reproduce: create two congregation (i do in the same user profile. Start downloading for the first congreagation. This takes a while. After closing and opening MMM with the other congregation u see that it don't need so long. But at "the end" (maybe it is not) it seems like there is something downloaded. After closeing and opening again and refreshing the media this download don't happens again.
  2. In the settings there are the size of the cache. It is for every congregation different (and i am talking about >1GB) and more strange for me: I don't know how the size is caclulated and where the size should be located. Even after deleting the cache and downloading again it doesn't seems to be the right size.

But both points are not very impotant. It really reduces the download size very much! So thank's a lot for this!

mtdvlpr commented 1 year ago

Hi @danielengels, thanks for testing!

  1. This could have multiple reasons: is the media path different? Are the meeting days different? Are you using a cong server? Do you have different settings under media setup (exclude toggles)?
  2. Cache consists of the cache of your language, the contents of your media path (the actual meeting media) and the cached shuffle music (located in the English cache path).

If you want to see what is downloaded, press ctrl + shift + I and open the network tab. Here you can see every call to the internet made. It needs to be open while the calls are being made to register them.

mtdvlpr commented 1 year ago

Also, after pressing those keys, the console tab shows how much of the media was extracted fom cache and from internet.

danielengels commented 1 year ago

@mtdvlpr What is a cong server? So i test now again! And the reason for different downloading or the additional download was the exclude toggles. On the first one I changed them and the other one uses the defaults. When I saw the download task I could see it. So then I guess it is working.

sircharlo commented 1 year ago

What is a cong server?

Good question! More details about what that means and why some find it useful are found here.

mtdvlpr commented 1 year ago

@danielengels, I noticed in our logs that you're German. Would you be willing to help us complete the German translations? They've fallen a bit behind recently.

danielengels commented 1 year ago

Sure I can do ;)

mtdvlpr commented 1 year ago

@danielengels, awesome! See the following instructions:

If any one of you would like to volunteer to become an M³ language moderator for a language you speak, please sign in to GitLocalize using your GitHub account, and then let us know by adding a comment in this chat.

mtdvlpr commented 1 year ago

More information about this role can be found at #722

danielengels commented 1 year ago

Try to translate everything that was not translated ;)

mtdvlpr commented 1 year ago

@danielengels, thanks so much! Are you willing to keep maintaining the German translations?

danielengels commented 1 year ago

Sure I can do - but how I get information that there are new keys to translate? Or should I check from time to time? But maybe it is answered in #722 but I can't read it yet. But I will do later

mtdvlpr commented 1 year ago

@danielengels, apparently you don't get notified at the moment, but we might switch to a different translation platform soon (as discussed in #722) where you should get notified of new strings.