Skip to content

Path Replacement not replacing backslashes correctly in Android. #1100

@Wozepohotu

Description

@Wozepohotu

I started using Jellyfin not long time ago, and I was testing the native paths to get the same I had before but easier.

But I was checking and testing Path Replacement in both two devices, a phone (old samsung) and a Google TV device (Onn), where the backslashes are not replaced correctly.
The files will play, but since they don't match what Kodi's Database Path table needs, it will not do the work correctly with Jellyfin server, like: Continue Watching feature will not work, and it will add entries to file and path for the movie that should work because it thinks it is a new file being played and not the one from Jellyfin.

I use Windows on the server so the server will be using the SMB protocol, so for example, the path that should be expected in the Kodi's Database Path table is:

smb://SMB-Server/Movies/Silence (2006)/ --------> C:\Server\Movies\Silence (2006)\

But with the path replacement it only replaces the backslashes in the specified path added to the Path replacement, not the backslashes that are not, so if the path replacement is:

C:\Server\Movies\ --------> smb://SMB-Server/Movies/\Silence (2006)\ 

C:\Server\Movies --------> smb://SMB-Server/Movies\Silence (2006)\

I tested Kodi 21 and 22 in both Tv and Phone and work exactly the same. Of course I found the workaround to the issue, so I don't think I need the path replacement feature, but I wanted to report it.

Have a nice day.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions