sircharlo / meeting-media-manager

A cross platform app to download and present media for congregation meetings of Jehovah’s Witnesses in any language. Features include automatic media downloading, easy drag-and-drop adding of additional media, and media presentation tools for meetings.
https://sircharlo.github.io/meeting-media-manager/
GNU Affero General Public License v3.0
147 stars 26 forks source link

WebDAV with 4shared not working #1264

Closed stepstra closed 1 year ago

stepstra commented 1 year ago

What happened?

After our problems with Google Drive I tried using 4shared as it offers a free WebDAV service. But I can't get it to work with M3. The folder is recognized on first setup but after switching to homepage trying to update media folders the 4shared folder can't be found by M3 anymore.

To Reproduce

  1. Go to congregation sync
  2. Click on web address
  3. Do enter login information for 4shared
  4. See error "folder cannot be found"

What did you expect to happen?

M3 should synchronize all media and settings with the specified 4shared folder. (I can map the 4shared folder in windows explorer as a network folder without any problems).

Version

23.1.1

What platform are you seeing the problem on?

Windows

Relevant log output

No response

Screenshots

No response

Additional context

No response

wifilogo commented 1 year ago

Hi @stepstra.

Our audio/video sisters have been using WebDav with Windows for months without any problems. It works very well. They are delighted with M3 and the WebDav function. When they arrive at the Kingdom Hall, the media list they have prepared from home is automatically updated when they open M3.

Keep this in mind: Note: Make sure that all congregation sync users input the same folder path; otherwise the sync won't work as expected.

Configure the WebDav settings in M3 and don't touch it anymore. We use a folder called M3 in the root folder of 4shared. Add media normally and it should work.

image

Chipperchap commented 1 year ago

One thing that has caught me out a few times is the date format for the folder. I need to remind myself to always check that I have the same format across devices.

Screenshot 2023-01-20 at 8 11 32 PM

mtdvlpr commented 1 year ago

@Chipperchap, the date format is lockable, forcing the same format on all connected devices :)

P.S. I made it forcable after falling victim to the same mistake...

Edit: actually, my mistake was having English at home and Dutch at the Kingdom Hall with the localized day in the format, so the media was uploaded to a Wednesday folder instead of Woensdag...

mtdvlpr commented 1 year ago

@stepstra, could you try this test version? 4shared has been difficult since the beginning, but I improved the logic to prevent an error that has been occurring a lot.

Chipperchap commented 1 year ago

@Chipperchap, the date format is lockable, forcing the same format on all connected devices :)

Yay! I just tried it and it worked! I was trying to sync with an old laptop that I use for training and no matter what I did it simply would not sync. It was driving me nuts! (well, more nuts than usual...) 🥴 What I found out was that the MMM folder I had created in my "Documents" folder was actually part of a OneDrive sync folder. I used to use OneDrive with this laptop but don't anymore... so I just deleted OneDrive and all the files I had put in (song and media for the PT this WE and a audio file for another meeting) miraculously appeared!

By the way, I installed the 4Shared Beta on my home PC and the laptop first to see if that would help - but OneDrive was the culprit.

Edit: actually, my mistake was having English at home and Dutch at the Kingdom Hall with the localized day in the format, so the media was uploaded to a Wednesday folder instead of Woensdag...

You are blessed to be able to speak two languages - well three if you include the "pure language". 😁

stepstra commented 1 year ago

@stepstra, could you try this test version? 4shared has been difficult since the beginning, but I improved the logic to prevent an error that has been occurring a lot.

Thank you, I will test when I get home this evening.

stepstra commented 1 year ago

@mtdvlpr OK. One step further: the error message is gone, but M3 still doesn't upload any media to the selected folder on 4shared.com :-/ Supplement: M3 does upload a forcedprefs.json but no media

mtdvlpr commented 1 year ago

@stepstra, could you describe your setup? What folder structure do you have on 4shared? Which folder did you set in M3?

stepstra commented 1 year ago

On 4shared it's "/M3", on my local PC it's my "user-folder/documents/M3"

image
mtdvlpr commented 1 year ago

Did M3 create a Media and Hidden folder?

stepstra commented 1 year ago

No. I created the M3 folder on 4shared within the web interface of 4shared.

mtdvlpr commented 1 year ago

I cleaned my 4shared server and created an M3 folder. Added media to the midweek meeting and it was successfully uploaded.

mtdvlpr commented 1 year ago

Could you try opening the network tab and see if the call correctly went trough? To open the inspector, hit Ctrl ⇧ Shift I (⌘ Command ⌥ Option I for Mac) when the app is starting up. Then select the network tab and try to upload something to a week day.

stepstra commented 1 year ago

This is for next week ...

image
mtdvlpr commented 1 year ago

Could you filter on 4shared using the filter textfield?

stepstra commented 1 year ago
image
mtdvlpr commented 1 year ago

It should look like this... Screenshot from 2023-01-20 20-42-55

mtdvlpr commented 1 year ago

Could you go back to settings and press the blue/green connect button (globe icon)? And then show the network tab again

stepstra commented 1 year ago

On second try I got this ...

image
mtdvlpr commented 1 year ago

Did you add a local file to the media before looking at the network tab?

stepstra commented 1 year ago

No, I did a media folder update. BTW: You can come on my machine, if you like ...

mtdvlpr commented 1 year ago

The test version fixed the issue and will be included in the next release :)

e-Feitosa commented 1 year ago

I tested the dynamics of the WebDAV server and found it a bit "confusing" for general users to sign up and use. Why am I saying this? I'm testing Koofr's service and I've done the following and it works fine:

  1. Installed on PC
  2. I created the folders on the PC inside Koofr
  3. Similar to Google Drive, syncs well
  4. On M3, I put the folder that I'm going to use on KH's PC

https://app.koofr.net/

On-line [Site]

image

PC KH

image

I know that wasn't the idea, but when I download the media here, and the team opens it in KH, the media syncs similar to Google Drive that I mentioned in another post.

mtdvlpr commented 1 year ago

@e-Feitosa you're not supposed to create a local Koofr folder (if you want to specify which folder in Koofr to use, use the directory field in congregation sync setup). The local media folder should be a regular folder. JW media won't be uploaded to Koofr, only extra custom media is added to Koofr. Then in the KH, M3 fetches the JW media like normal and the extra custom media from Koofr and places both in the local media folder. Does that make sense to you?

mtdvlpr commented 1 year ago

Example:

e-Feitosa commented 1 year ago

@e-Feitosa você não deve criar uma pasta Koofr local (se você quiser especificar qual pasta no Koofr usar, use o campo de diretório na configuração de sincronização da congregação). A pasta de mídia local deve ser uma pasta normal. A mídia JW não será carregada no Koofr, apenas a mídia personalizada extra será adicionada ao Koofr. Em seguida, no KH, o M3 busca a mídia JW como normal e a mídia extra personalizada do Koofr e coloca ambas na pasta de mídia local. Isso faz sentido para você?

Thanks for the clarification, I'll do some more tests.