Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SplitFromSecondSlash ¶
SplitFromSecondSlash 找到给定字符串 str 中第二个 '/' 字符的位置 并以该位置为首字符切割剩余的子串返回
Types ¶
type OpenlistPathRes ¶
type OpenlistPathRes struct {
// Success 转换是否成功
Success bool
// Path 转换后的路径
Path string
// Range 遍历所有 Openlist 根路径生成的子路径
Range func() ([]string, error)
}
OpenlistPathRes 路径转换结果
func Emby2Openlist ¶
func Emby2Openlist(embyPath string) OpenlistPathRes
Emby2Openlist Emby 资源路径转 Openlist 资源路径
Click to show internal directories.
Click to hide internal directories.