mirror of
https://github.com/recloudstream/cloudstream.git
synced 2024-08-15 01:53:11 +00:00
fixed #1011
This commit is contained in:
parent
7e9fa1ec41
commit
fd50e2cccb
1 changed files with 4 additions and 3 deletions
|
@ -267,13 +267,14 @@ class ResultFragment : Fragment(), PanelsChildGestureRegionObserver.GestureRegio
|
|||
}
|
||||
|
||||
private fun getFolder(currentType: TvType, titleName: String): String {
|
||||
val sanitizedFileName = sanitizeFilename(titleName)
|
||||
return when (currentType) {
|
||||
TvType.Anime -> "Anime/$titleName"
|
||||
TvType.Anime -> "Anime/$sanitizedFileName"
|
||||
TvType.Movie -> "Movies"
|
||||
TvType.AnimeMovie -> "Movies"
|
||||
TvType.TvSeries -> "TVSeries/$titleName"
|
||||
TvType.TvSeries -> "TVSeries/$sanitizedFileName"
|
||||
TvType.OVA -> "OVA"
|
||||
TvType.Cartoon -> "Cartoons/$titleName"
|
||||
TvType.Cartoon -> "Cartoons/$sanitizedFileName"
|
||||
TvType.Torrent -> "Torrent"
|
||||
TvType.Documentary -> "Documentaries"
|
||||
TvType.AsianDrama -> "AsianDrama"
|
||||
|
|
Loading…
Reference in a new issue