@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
@@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
## [Unreleased]
### Added
- Graphics engine:
- Add template data (like `MediaItem_Title`) for other video files
- Add `MediaItem_Path` for movies, episodes, music videos and other videos
- Add `get_directory_name` and `get_filename_without_extension` functions for path processing
@ -23,6 +23,7 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@@ -23,6 +23,7 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@ -120,13 +121,16 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@@ -120,13 +121,16 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@ -139,7 +143,7 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@@ -139,7 +143,7 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@ -151,19 +155,32 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@@ -151,19 +155,32 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@ -206,19 +223,30 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@@ -206,19 +223,30 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@ -241,7 +269,7 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@@ -241,7 +269,7 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
artist=artistMetadata.Title;
}
returnnewDictionary<string,object>
varresult=newDictionary<string,object>
{
[MediaItemTemplateDataKey.Title]=metadata.Title,
[MediaItemTemplateDataKey.Track]=metadata.Track,
@ -256,6 +284,66 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext
@@ -256,6 +284,66 @@ public class TemplateDataRepository(ILocalFileSystem localFileSystem, IDbContext