Skip to content
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

Analyzing files with special characters #48

Open
MichaelHochriegl opened this issue Apr 13, 2023 · 5 comments
Open

Analyzing files with special characters #48

MichaelHochriegl opened this issue Apr 13, 2023 · 5 comments
Labels

Comments

@MichaelHochriegl
Copy link

If I pass in a filepath with special characters like "³" for example for the Movie "[REC]³" I get the following output:

dbug: MediaInfo.MovieService[0]
2023-04-13T14:36:25.883272712Z       Analyzing media /mnt/media-data/movies/[REC]³ Genesis (2012)/[REC]³ Genesis (2012).mkv.
2023-04-13T14:36:25.883318982Z dbug: MediaInfo.MovieService[0]
2023-04-13T14:36:25.883328632Z       MediaInfo library was loaded. (handle=139712803286768, version=MediaInfoLib - v21.09)
2023-04-13T14:36:25.883338682Z warn: MediaInfo.MovieService[0]
2023-04-13T14:36:25.883341682Z       MediaInfo library has not been opened media /mnt/media-data/movies/[REC]³ Genesis (2012)/[REC]³ Genesis (2012).mkv
2023-04-13T14:36:25.883345492Z dbug: MediaInfo.MovieService[0]
2023-04-13T14:36:25.883347982Z       Process /mnt/media-data/movies/[REC]³ Genesis (2012)/[REC]³ Genesis (2012).mkv was completed successfully. Video=0, Audio=0, Subtitle=0

If I rename the folder to "[REC]3" everything works fine.
However, renaming is not really an option for me, so is there anything that I can do?

If I use MediaInfo from the CLI it can parse the file just fine.

@yartat yartat added the bug label Apr 13, 2023
@yartat
Copy link
Owner

yartat commented Apr 13, 2023

It looks like ANSI version on Linux platform. It's a bug.

@MichaelHochriegl
Copy link
Author

Thanks for the fast reply! I read that this lib is on hold until the war in Ukraine is over, so is there anything that I can do to fix it? I even looked at upping the used MediaInfo version, but so far I'm pretty lost.

Looks like the actual MediaInfo version is in the MediaInfo.Core.Native package, which I can't find the source code for.

@yartat
Copy link
Owner

yartat commented Apr 13, 2023

MediaInfo.Core.Native is fork of the MediaInfoLib - https://github.com/yartat/MediaInfoLib. Unfortunately I lost all build agents and all media samples.

@MichaelHochriegl
Copy link
Author

Oh damn, that last sentence doesn't sound good regarding this package here.
So I guess it's dead?

Would be such a shame, as it's the go-to lib for MediaInfo in dotnet core it seems like.

@yartat
Copy link
Owner

yartat commented Apr 13, 2023

I hope this is not the end of the project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants