fupdec / mediaChips

Manage your videos, add any metadata to them and play them.
https://mediachips.app
GNU General Public License v3.0
166 stars 22 forks source link

Bugs with v0.11.2-beta portable version #139

Open mf35 opened 2 years ago

mf35 commented 2 years ago

Hello. I'm on Windows 10.

I got this error when i launch a video on the app player. Whatever the file format or the codec. I still can preview some when i hover with mouse cursor, but they won't open.

I can't edit video cards, or right click to get options. The option on the upper right corner don't appear (like cards size).

Here are the errors i got: 01 02 03

Take care.

fupdec commented 2 years ago

I tried to throw an error, but everything works fine for me. How long ago did you update the app? Yesterday I updated the files because the player didn't work. But it didn't work for a different reason. I looked at your screenshots and places in the code that are indicated by errors in the console. It has to do with getting meta. You didn't edit the database manually, did you?

mf35 commented 2 years ago

Ok, since i didn't configure anything or create metas, i decided to just delete all the app files and start from scratch.

I imported the same videos again, all the console errors disappeared, and context menu and options were back again. So, it must be something i did.

Although, no videos still want to play, i still got the error on the app player. But i found that this has something to do with the fact that my videos are on my local Nas.

When i try to play a video stored on my Nas, i got the error. When i copy the same video on a drive on my computer locally (where MediaChips is), i can play the video.

fupdec commented 2 years ago

It's good that you've made progress on the problem. Errors in the console were sent to receive meta and they were not related to the video. Perhaps there are other errors in the console now? It was a good idea to copy the path to the file that is on NAS. Because I don't have it and don't know how to test it. But I previously tried using NAS and connected it as a removable hard drive. Then there were no problems with playback.

mf35 commented 2 years ago

Hello. No error in the console when i play a video. Only on the player.

My Nas is on my local network, not directly connected to my computer. I think it has to do with playback through the network. I tried to put a non-working file on the Nas' root, so path is very simple and straight. But didn't work.

Same video on my local computer plays properly. So only the playback doesn't work, finding and importing the videos from the Nas worked perfectly.

fupdec commented 2 years ago

In the player window, you can also open the developer tools CTRL + SHIFT + I. Are there any errors in the player window too?

mf35 commented 2 years ago

Oh didn't know that. Yes i got these errors:

/C:/Nas/Medias/The%20Sandpit.mp4:1

GET file:///C:/Nas/Medias/The%20Sandpit.mp4 net::ERR_FILE_NOT_FOUND

player.html:1 Uncaught (in promise) DOMException: Failed to load because no supported source was found.

As additional informations: The file's path in information panel in MediaChips is:

\Nas\Medias\The Sandpit.mp4 It's the same path in my Windows Explorer where i can access the file manually or through my external video player.

In the Network tab in the DevTools i have this: GENERAL Request URL: file:///C:/Nas/Medias/The Sandpit.mp4 Referrer Policy: strict-origin-when-cross-origin

REQUEST HEADERS Provisional headers are shown Learn more

What i find strange is the "C:" in the paths. My Nas is not on C Drive. It is an external hardware on the local network.

I don't think there is a permission problem because i also use the software "Kodi" which access and read videos through my Nas without problems or further configurations.

fupdec commented 2 years ago

this information is not enough to pinpoint the problem. later I will try to do a test with a virtual machine using it as a remote storage. I recommend that you try adding NAS drive as a separate local drive. this is configured in "my computer". anyway this problem can be solved in the future when i release a server version and you can run it directly on NAS using docker.

mf35 commented 2 years ago

ok i understand I'll wait for the server version. I exported my database from my portable v0.11.2 version to the 0.2.0 server version, and i can play all the video files from the Nas with this last one.

So you know :)