Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom format Flag stays after transcoding into other Codec #7896

Open
1 task done
Mavarius1989 opened this issue Dec 15, 2022 · 3 comments
Open
1 task done

Custom format Flag stays after transcoding into other Codec #7896

Mavarius1989 opened this issue Dec 15, 2022 · 3 comments
Labels
Status: Needs Triage New Issue needing triage Type: Bug Issue is a bug

Comments

@Mavarius1989
Copy link

Mavarius1989 commented Dec 15, 2022

Is there an existing issue for this?

  • I have searched the existing open and closed issues

Current Behavior

I transcode x264 movies with Tdarr into x265. I do that on an other drive and as soon as it is transcoded, Tdarr deletes the original x264 file and adds the new x265.
If you refresh the movie within Radarr you now see the new codec (x265) and under media info, too. Then you rename it, so there is no x264 anymore in the filename. But the custom Flag for x264 stays there together with the new x265 flag.
the x264 flag disappears, when i delete the movie from Radarr and add it again. Strangely this occurs just sometime. Other times, the x264 flag just disappears after the transcoding,

1 (1)
1 (2)
1 (3)
1 (4)

Expected Behavior

When the file is exchanged for the new one, the custom flag is reloaded too. I guess there is a database, where the original downloaded title is saved.

Steps To Reproduce

  1. Load a movie in x264 (i guess it works with every other custom format)
  2. Change the file in the folder for a file with the same name but other metadata (f.e. video codec)
  3. rename the filke, so that the old metadata (f.e. x264) isn't in the name anymore but x265
  4. The custom format applies to the new and the original name. So a custom format like Release Title x264 and x265 applie even though x264 is wrong.
  5. Delete the movie from Radarr
  6. add it again.
  7. the Custom format is now right.

Environment

- OS: Windows 11
- Radarr: Version: 4.2.4.6635
- Docker Install: 
- Using Reverse Proxy: 
- Browser: Chrome
- Database: sql lite 3.36.0

What branch are you running?

Master

Trace Logs?

2022-12-15 20:59:54.6|Trace|ConfigService|Using default config value for 'filedate' defaultValue:'None'
2022-12-15 20:59:54.6|Debug|MediaFileAttributeService|Setting last write time on movie folder: \192.168.0.3\Filme\Filme\Black Box BRD (2001)
2022-12-15 20:59:54.6|Trace|Http|Res: 5007 [GET] /api/v3/queue/details: 200.OK (2 ms)
2022-12-15 20:59:54.6|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 20:59:54.6|Debug|Api|[GET] /api/v3/queue/details: 200.OK (2 ms)
2022-12-15 20:59:54.6|Trace|CommandQueueManager|Getting all commands
2022-12-15 20:59:54.6|Trace|Http|Req: 5009 [GET] /api/v3/queue/details (from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 20:59:54.6|Trace|Http|Res: 5008 [GET] /api/v3/command: 200.OK (13 ms)
2022-12-15 20:59:54.6|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 20:59:54.6|Trace|Http|Res: 5009 [GET] /api/v3/queue/details: 200.OK (2 ms)
2022-12-15 20:59:54.6|Debug|Api|[GET] /api/v3/command: 200.OK (13 ms)
2022-12-15 20:59:54.6|Debug|Api|[GET] /api/v3/queue/details: 200.OK (2 ms)
2022-12-15 20:59:54.6|Trace|Http|Req: 5010 [GET] /api/v3/command (from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 20:59:54.6|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 20:59:54.6|Trace|CommandQueueManager|Getting all commands
2022-12-15 20:59:54.6|Trace|Http|Res: 5010 [GET] /api/v3/command: 200.OK (2 ms)
2022-12-15 20:59:54.6|Debug|Api|[GET] /api/v3/command: 200.OK (2 ms)
2022-12-15 20:59:54.7|Trace|Http|Req: 5011 [GET] /api/v3/command (from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 20:59:54.7|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 20:59:54.7|Trace|CommandQueueManager|Getting all commands
2022-12-15 20:59:54.7|Trace|Http|Res: 5011 [GET] /api/v3/command: 200.OK (2 ms)
2022-12-15 20:59:54.7|Debug|Api|[GET] /api/v3/command: 200.OK (2 ms)
2022-12-15 20:59:54.7|Trace|Http|Req: 5012 [GET] /api/v3/command (from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 20:59:54.7|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 20:59:54.7|Trace|CommandQueueManager|Getting all commands
2022-12-15 20:59:54.7|Trace|Http|Res: 5012 [GET] /api/v3/command: 200.OK (2 ms)
2022-12-15 20:59:54.7|Debug|Api|[GET] /api/v3/command: 200.OK (2 ms)
2022-12-15 20:59:54.7|Trace|EventAggregator|Publishing MovieFileAddedEvent
2022-12-15 20:59:54.7|Trace|EventAggregator|MovieFileAddedEvent -> MovieService
2022-12-15 20:59:54.7|Info|MovieService|Assigning file [Black Box BRD (2001) [imdb-tt0283941][WEBDL-1080p][AAC 2.0][DE][x264]-GWD.mkv] to movie [[Black Box BRD (2001)][tt0283941, 11089]]
2022-12-15 20:59:54.7|Trace|EventAggregator|MovieFileAddedEvent <- MovieService
2022-12-15 20:59:54.7|Trace|EventAggregator|MovieFileAddedEvent -> MovieFileController
2022-12-15 20:59:54.7|Trace|EventAggregator|MovieFileAddedEvent <- MovieFileController
2022-12-15 20:59:54.7|Trace|ConfigService|Using default config value for 'importextrafiles' defaultValue:'False'
2022-12-15 20:59:54.8|Trace|EventAggregator|Publishing MovieFileImportedEvent
2022-12-15 20:59:54.8|Trace|EventAggregator|MovieFileImportedEvent -> NotificationService
2022-12-15 20:59:54.8|Debug|NotificationService|No tags set for this notification.
2022-12-15 20:59:54.8|Debug|PlexServer|Scheduling library update for movie 1713 Black Box BRD
2022-12-15 20:59:54.8|Trace|EventAggregator|MovieFileImportedEvent <- NotificationService
2022-12-15 20:59:54.8|Trace|EventAggregator|MovieFileImportedEvent -> HistoryService
2022-12-15 20:59:54.8|Trace|EventAggregator|MovieFileImportedEvent <- HistoryService
2022-12-15 20:59:54.8|Trace|EventAggregator|MovieFileImportedEvent -> DownloadMonitoringService
2022-12-15 20:59:54.8|Trace|EventAggregator|MovieFileImportedEvent <- DownloadMonitoringService
2022-12-15 20:59:54.8|Trace|EventAggregator|MovieFileImportedEvent -> DownloadHistoryService
2022-12-15 20:59:54.8|Trace|EventAggregator|MovieFileImportedEvent <- DownloadHistoryService
2022-12-15 20:59:54.8|Trace|EventAggregator|MovieFileImportedEvent -> MovieController
2022-12-15 20:59:54.8|Trace|ConfigService|Using default config value for 'availabilitydelay' defaultValue:'0'
2022-12-15 20:59:54.8|Trace|ConfigService|Using default config value for 'movieinfolanguage' defaultValue:'1'
2022-12-15 20:59:54.8|Trace|EventAggregator|MovieFileImportedEvent <- MovieController
2022-12-15 20:59:54.8|Trace|EventAggregator|Publishing HealthCheckCompleteEvent
2022-12-15 20:59:54.8|Trace|EventAggregator|HealthCheckCompleteEvent -> HealthController
2022-12-15 20:59:54.8|Trace|EventAggregator|HealthCheckCompleteEvent <- HealthController
2022-12-15 20:59:54.8|Trace|EventAggregator|HealthCheckCompleteEvent ~> NotificationService
2022-12-15 20:59:54.8|Debug|DiskScanService|Scanning 'C:\SABNZBD\movies\Black.Box.BRD.German.DOKU.1080p.WebHD.x264-GWD' for video files
2022-12-15 20:59:54.8|Trace|DiskScanService|1 files were found in C:\SABNZBD\movies\Black.Box.BRD.German.DOKU.1080p.WebHD.x264-GWD
2022-12-15 20:59:54.8|Debug|DiskScanService|0 video files were found in C:\SABNZBD\movies\Black.Box.BRD.German.DOKU.1080p.WebHD.x264-GWD
2022-12-15 20:59:54.8|Debug|DownloadedMovieImportService|Deleting folder after importing valid files
2022-12-15 20:59:54.8|Debug|CompletedDownloadService|All movies were imported for Black.Box.BRD.German.DOKU.1080p.WebHD.x264-GWD
2022-12-15 20:59:54.8|Trace|EventAggregator|Publishing DownloadCompletedEvent
2022-12-15 20:59:54.8|Debug|PlexServer|Performing library update for 1 movies
2022-12-15 20:59:54.8|Debug|PlexServerService|Sending Update Request to Plex Server
2022-12-15 20:59:54.8|Trace|EventAggregator|DownloadCompletedEvent -> DownloadEventHub
2022-12-15 20:59:54.8|Trace|Http|Req: 5013 [GET] /api/v3/health (from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 20:59:54.8|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 20:59:54.8|Debug|DownloadEventHub|[Black.Box.BRD.German.DOKU.1080p.WebHD.x264-GWD] Marking download as imported from sab
2022-12-15 20:59:54.8|Debug|DownloadEventHub|SABnzbd does not support marking items as imported
2022-12-15 20:59:54.8|Debug|DownloadEventHub|[Black.Box.BRD.German.DOKU.1080p.WebHD.x264-GWD] Removing download from sab history
2022-12-15 20:59:54.8|Debug|SabnzbdProxy|Url: http://localhost:8080/api?mode=queue&start=0&limit=0&apikey=(removed)&output=json
2022-12-15 20:59:54.8|Debug|PlexServerService|Getting version from Plex host: 192.168.0.3

2022-12-15 21:40:05.3|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: SignalR was successfully authenticated.
2022-12-15 21:40:05.3|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 21:40:05.3|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 21:40:05.3|Trace|Http|Res: 5722 [GET] /api/v3/health: 200.OK (4 ms)
2022-12-15 21:40:05.3|Debug|Api|[GET] /api/v3/health: 200.OK (4 ms)
2022-12-15 21:40:05.3|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 21:40:05.3|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 21:40:05.3|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 21:40:05.3|Trace|Http|Res: 5723 [GET] /api/v3/queue/status: 200.OK (6 ms)
2022-12-15 21:40:05.3|Trace|Http|Res: 5721 [POST] /signalr/messages/negotiate?access_token=(removed)&negotiateVersion=1: 200.OK (12 ms)
2022-12-15 21:40:05.3|Debug|Api|[GET] /api/v3/queue/status: 200.OK (6 ms)
2022-12-15 21:40:05.3|Trace|Http|Req: 5727 [GET] /api/v3/extraFile?movieId=1713 (from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 21:40:05.3|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 21:40:05.3|Trace|Http|Res: 5725 [GET] /api/v3/blocklist/movie?movieId=1713: 200.OK (11 ms)
2022-12-15 21:40:05.3|Debug|Api|[GET] /api/v3/blocklist/movie?movieId=1713: 200.OK (11 ms)
2022-12-15 21:40:05.3|Trace|Http|Req: 5728 [GET] /api/v3/queue/details?movieId=1713 (from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 21:40:05.3|Trace|Http|Res: 5724 [GET] /api/v3/movieFile?movieId=1713: 200.OK (15 ms)
2022-12-15 21:40:05.3|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 21:40:05.3|Debug|Api|[GET] /api/v3/movieFile?movieId=1713: 200.OK (15 ms)
2022-12-15 21:40:05.3|Trace|Http|Req: 5729 [GET] /api/v3/credit?movieId=1713 (from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 21:40:05.3|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 21:40:05.3|Trace|Http|Res: 5728 [GET] /api/v3/queue/details?movieId=1713: 200.OK (8 ms)
2022-12-15 21:40:05.3|Debug|Api|[GET] /api/v3/queue/details?movieId=1713: 200.OK (8 ms)
2022-12-15 21:40:05.3|Trace|Http|Req: 5730 [GET] /signalr/messages?access_token=(removed)&id=*********
(from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 21:40:05.3|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: SignalR was successfully authenticated.
2022-12-15 21:40:05.4|Trace|Http|Req: 5731 [GET] /api/v3/importlist/schema (from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 21:40:05.4|Trace|Http|Req: 5732 [GET] /api/v3/rootFolder (from 192.168.0.2 Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36)
2022-12-15 21:40:05.4|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 21:40:05.4|Debug|Radarr.Http.Authentication.ApiKeyAuthenticationHandler|AuthenticationScheme: API was successfully authenticated.
2022-12-15 21:40:05.4|Trace|Http|Res: 5731 [GET] /api/v3/importlist/schema: 200.OK (9 ms)
2022-12-15 21:40:05.4|Debug|Api|[GET] /api/v3/importlist/schema: 200.OK (9 ms)
2022-12-15 21:40:05.4|Trace|Http|Res: 5727 [GET] /api/v3/extraFile?movieId=1713: 200.OK (35 ms)
2022-12-15 21:40:05.4|Trace|Http|Res: 5729 [GET] /api/v3/credit?movieId=1713: 200.OK (39 ms)
2022-12-15 21:40:05.4|Debug|Api|[GET] /api/v3/extraFile?movieId=1713: 200.OK (35 ms)
2022-12-15 21:40:05.4|Debug|Api|[GET] /api/v3/credit?movieId=1713: 200.OK (39 ms)
2022-12-15 21:40:05.4|Debug|Parser|Parsing string 'Black.Box.BRD.German.DOKU.1080p.WebHD.x264-GWD'
2022-12-15 21:40:05.4|Trace|Parser|^(?<title>(?![([]).+?)((\W|))((?\b(?(((Recut.|Extended.|Ultimate.)?(Director.?s|Collector.?s|Theatrical|Ultimate|Extended|Despecialized|(Special|Rouge|Final|Assembly|Imperial|Diamond|Signature|Hunter|Rekall)(?=(.(Cut|Edition|Version)))|\d{2,3}(th)?.Anniversary)(?:.(Cut|Edition|Version))?(.(Extended|Uncensored|Remastered|Unrated|Uncut|IMAX|Fan.?Edit))?|((Uncensored|Remastered|Unrated|Uncut|IMAX|Fan.?Edit|Restored|((2|3|4)in1))))))\b)?.{1,3})?(?:(?<!(19|20)\d{2}.*?)(German|TrueFrench))(.+?)(?=((19|20)\d{2}|$))(?(19|20)\d{2}(?!p|i|\d+|]|\W\d+))?(\W+||$)(?!\)
2022-12-15 21:40:05.4|Debug|Parser|Movie Parsed. Black Box BRD - 0
2022-12-15 21:40:05.4|Debug|Parser|Release Group parsed: GWD
2022-12-15 21:40:05.4|Debug|Parser|Languages parsed: German
2022-12-15 21:40:05.4|Debug|QualityParser|Trying to parse quality for Black.Box.BRD.German.DOKU.1080p.WebHD.x264-GWD
2022-12-15 21:40:05.4|Debug|RootFolderService|Generating list of unmapped folders
2022-12-15 21:40:05.4|Debug|Parser|Quality parsed: WEBDL-1080p v1
2022-12-15 21:40:05.4|Debug|Parser|Edition parsed:
2022-12-15 21:40:05.4|Debug|Parser|Parsing string 'Black.Box.BRD.German.DOKU.1080p.WebHD.x264-GWD'
2022-12-15 21:40:05.4|Trace|Parser|^(?<title>(?![([]).+?)((\W|))((?\b(?(((Recut.|Extended.|Ultimate.)?(Director.?s|Collector.?s|Theatrical|Ultimate|Extended|Despecialized|(Special|Rouge|Final|Assembly|Imperial|Diamond|Signature|Hunter|Rekall)(?=(.(Cut|Edition|Version)))|\d{2,3}(th)?.Anniversary)(?:.(Cut|Edition|Version))?(.(Extended|Uncensored|Remastered|Unrated|Uncut|IMAX|Fan.?Edit))?|((Uncensored|Remastered|Unrated|Uncut|IMAX|Fan.?Edit|Restored|((2|3|4)in1))))))\b)?.{1,3})?(?:(?<!(19|20)\d{2}.*?)(German|TrueFrench))(.+?)(?=((19|20)\d{2}|$))(?(19|20)\d{2}(?!p|i|\d+|]|\W\d+))?(\W+||$)(?!\)
2022-12-15 21:40:05.4|Debug|Parser|Movie Parsed. Black Box BRD - 0
2022-12-15 21:40:05.4|Debug|Parser|Release Group parsed: GWD
2022-12-15 21:40:05.4|Debug|Parser|Languages parsed: German
2022-12-15 21:40:05.4|Debug|QualityParser|Trying to parse quality for Black.Box.BRD.German.DOKU.1080p.WebHD.x264-GWD
2022-12-15 21:40:05.4|Debug|Parser|Quality parsed: WEBDL-1080p v1
2022-12-15 21:40:05.4|Trace|EventAggregator|Publishing MovieEditedEvent
2022-12-15 21:40:05.4|Debug|Parser|Edition parsed:
2022-12-15 21:40:05.4|Trace|EventAggregator|MovieEditedEvent -> MovieController
2022-12-15 21:40:05.4|Trace|ConfigService|Using default config value for 'availabilitydelay' defaultValue:'0'
2022-12-15 21:40:05.4|Trace|ConfigService|Using default config value for 'movieinfolanguage' defaultValue:'1'
2022-12-15 21:40:05.4|Trace|EventAggregator|MovieEditedEvent <- MovieController

AB#4473

@Mavarius1989 Mavarius1989 added Status: Needs Triage New Issue needing triage Type: Bug Issue is a bug labels Dec 15, 2022
@bakerboy448
Copy link
Contributor

Need your custom formats as well

as said on Reddit what's most likely happening is radarr is not seeing the file being deleted thus the x264 is being picked up from the historical pre-import name. Hence why it works for one and not the other

@Mavarius1989
Copy link
Author

Of course, sorry. And hi again.
x265
x264

@stevezau
Copy link

I am about to run a tdarr convert for a large number of files. I suspect i will hit this issue also. Is there a workaround?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage New Issue needing triage Type: Bug Issue is a bug
Projects
None yet
Development

No branches or pull requests

3 participants