Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
Merge nfo files with online database
#16
(2023-01-22, 11:51)Klojum Wrote:
(2023-01-22, 07:26)rickyrockrat Wrote: Kodi is close to being a viable solution, but it's either missing the things I want or I can't find what I want going through the menus. A web browser would be nice, since I like to look up info on actors or about the movie, an alternate player in addition to mpv, since though mpv has better hw decode integration (at least it used to), it's seek is completely broken on movies that mplayer has no issues with
Going thru the menus is one things, some other settings are to be set via the advancedsettings.xml file, as not everything can be placed in the GUI options. Being a media player that needs to work on various OS'es creates a bigger challenge. (Yes I know other media players are available in other OS forms, but they are still "just a standalone player". Kodi has the 'total media experience' to drag along.) And should you prefer MPV, you can also set it as the external player in Kodi, replacing the built-in one.
So the Kodi player is not based on mpv? It seems to be only because it can't seek files that are damaged in any way, just like MPV. What is the codebase for the built in player?
Reply
#17
(2023-01-22, 07:57)jepsizofye Wrote: in the tmdb addon from the link

python/scraper.py: line 168, function run()
it calls search_for_movie

search_for_movie is defined on line 29:
def search_for_movie(title, year, handle, settings):

so between run() and search_for_movie(title, year, handle, settings) would be where you can inject a custom parsing

or within search_for_movie have it clean up the name before line 31:
title = _strip_trailing_article(title)

so it would be more like

31: title = cleanmyfilename(title,year)
32: title = _strip_trailing_article(title)

then you can define your own function

def cleanmyfilename(title,year):
return title.replace("_"," ") # or some regex, etc and so on until it meets your needs based on your filenames
Awesome. Thanks. I'll dig into it when I get time. I just wish I didn't have to sleep...
Reply
#18
(2023-01-23, 01:36)rickyrockrat Wrote: I could create a file to restore them while renaming, but IMO, this is broken in Kodi.
haha. Kodi is at fault for not parsing your weird filenaming scheme?? That's funny.

(2023-01-19, 05:07)rickyrockrat Wrote: ThisMovieName2010-1080x5.1.mpv, or movies with THIS_MOVIE_NAME.vob, etc
It doesn't even seem like you have a scheme.
My Signature
Links to : Official:Forum rules (wiki) | Official:Forum rules/Banned add-ons (wiki) | Debug Log (wiki)
Links to : HOW-TO:Create Music Library (wiki) | HOW-TO:Create_Video_Library (wiki)  ||  Artwork (wiki) | Basic controls (wiki) | Import-export library (wiki) | Movie sets (wiki) | Movie universe (wiki) | NFO files (wiki) | Quick start guide (wiki)
Reply
#19
kodi and mpv are both built with ffmpeg/libavcodec but i couldnt tell you beyond that

enjoy rickyrockrat
Reply
#20
(2023-01-23, 02:27)Karellen Wrote:
(2023-01-23, 01:36)rickyrockrat Wrote: I could create a file to restore them while renaming, but IMO, this is broken in Kodi.
haha. Kodi is at fault for not parsing your weird filenaming scheme?? That's funny.
(2023-01-19, 05:07)rickyrockrat Wrote: ThisMovieName2010-1080x5.1.mpv, or movies with THIS_MOVIE_NAME.vob, etc
It doesn't even seem like you have a scheme.
It is just a parser with very limited parsing, but I realize this is a given. It was more the inability, once given the correct movie name, to do nothing with it. The scheme is movieYEAR-VidResxAudio, but I've inherited other movie names from other tools,  and unfortunately I am too busy to rename them to something consistent.
Reply
#21
(2023-01-23, 06:05)jepsizofye Wrote: kodi and mpv are both built with ffmpeg/libavcodec but i couldnt tell you beyond that

enjoy rickyrockrat

Yes, there was a split at one point from Mplayer into mpv, with the fork providing nice hardware decode support, but broken seeks on broken movies. I really need to just re-encode the broken movies so they are all H265, but have yet to find the time. I'm sure when my drive starts filling up, I'll find the time.

Anyrate, thanks for all the help. If I figure out a path, I'll post back what happened.
Reply

Logout Mark Read Team Forum Stats Members Help
Merge nfo files with online database0