this post was submitted on 18 Jun 2024
1 points (100.0% liked)

It's A Digital Disease!

23 readers
1 users here now

This is a sub that aims at bringing data hoarders together to share their passion with like minded people.

founded 2 years ago
MODERATORS
 
The original post: /r/datahoarder by /u/1michaelbrown on 2024-06-17 21:08:51.

I have setup a bash script to autorip so far it is working but with errors. So how would I fix the errors or do this a better way. Errors I am having

Jun 17 20:24:15 markvm5 (udev-worker)[9984]: sr0: Process '/bin/systemctl start makemkv-rip.service' failed with exit code 1.                                                                                    
Jun 17 20:24:15 markvm5 (udev-worker)[9995]: sr1: Process '/bin/systemctl start makemkv-rip.service' failed with exit code 1.                                                                                    
Jun 17 20:26:04 markvm5 (udev-worker)[10091]: sr1: Spawned process '/bin/systemctl start makemkv-rip.service' [10094] is taking longer than 56s to complete                                                      
Jun 17 20:26:04 markvm5 systemd-udevd[467]: sr1: Worker [10091] processing SEQNUM=8075 is taking a long time                                                                                                     
Jun 17 20:28:04 markvm5 (udev-worker)[10091]: sr1: Spawned process '/bin/systemctl start makemkv-rip.service' [10094] timed out after 2min 56s, killing                                                          
Jun 17 20:28:04 markvm5 systemd-udevd[467]: sr1: Worker [10091] processing SEQNUM=8075 killed                                                                                                                    
Jun 17 20:28:04 markvm5 systemd-udevd[467]: sr1: Worker [10091] terminated by signal 9 (KILL).                                                                                                                   
Jun 17 20:41:49 markvm5 (udev-worker)[10159]: sr1: Process '/bin/systemctl start makemkv-rip.service' failed with exit code 1.                                                                                   
Jun 17 20:52:38 markvm5 (udev-worker)[10201]: sr1: Spawned process '/bin/systemctl start makemkv-rip.service' [10205] is taking longer than 47s to complete                                                      
Jun 17 20:52:38 markvm5 systemd-udevd[467]: sr1: Worker [10201] processing SEQNUM=8077 is taking a long time Jun 17 20:24:15 markvm5 (udev-worker)[9984]: sr0: Process '/bin/systemctl start makemkv-rip.service' failed with exit code 1.                                                                                    
Jun 17 20:24:15 markvm5 (udev-worker)[9995]: sr1: Process '/bin/systemctl start makemkv-rip.service' failed with exit code 1.                                                                                    
Jun 17 20:26:04 markvm5 (udev-worker)[10091]: sr1: Spawned process '/bin/systemctl start makemkv-rip.service' [10094] is taking longer than 56s to complete                                                      
Jun 17 20:26:04 markvm5 systemd-udevd[467]: sr1: Worker [10091] processing SEQNUM=8075 is taking a long time                                                                                                     
Jun 17 20:28:04 markvm5 (udev-worker)[10091]: sr1: Spawned process '/bin/systemctl start makemkv-rip.service' [10094] timed out after 2min 56s, killing                                                          
Jun 17 20:28:04 markvm5 systemd-udevd[467]: sr1: Worker [10091] processing SEQNUM=8075 killed                                                                                                                    
Jun 17 20:28:04 markvm5 systemd-udevd[467]: sr1: Worker [10091] terminated by signal 9 (KILL).                                                                                                                   
Jun 17 20:41:49 markvm5 (udev-worker)[10159]: sr1: Process '/bin/systemctl start makemkv-rip.service' failed with exit code 1.                                                                                   
Jun 17 20:52:38 markvm5 (udev-worker)[10201]: sr1: Spawned process '/bin/systemctl start makemkv-rip.service' [10205] is taking longer than 47s to complete                                                      
Jun 17 20:52:38 markvm5 systemd-udevd[467]: sr1: Worker [10201] processing SEQNUM=8077 is taking a long time 

This is the process I used I setup a udev rule

SUBSYSTEM=="block", ENV{ID_CDROM}=="1", ACTION=="change", RUN+="/bin/systemctl start makemkv-rip.service"SUBSYSTEM=="block", ENV{ID_CDROM}=="1", ACTION=="change", RUN+="/bin/systemctl start makemkv-rip.service"

and the makemkv-rip.service at

/etc/systemd/system/makemkv-rip.service`/etc/systemd/system/makemkv-rip.service

[Unit]                                                                                                                                                                                                           
Description=AutoRip CD on insertion                                                                                                                                                                              

[Service]                                                                                                                                                                                                        
Type=oneshot                                                                                                                                                                                                     
RemainAfterExit=no                                                                                                                                                                                               
ExecStart=/home/mike/autorip.sh                                                                                                                                                                                  
ExecStop=killall autorip.sh [Unit]                                                                                                                                                                                                           
Description=AutoRip CD on insertion                                                                                                                                                                              

[Service]                                                                                                                                                                                                        
Type=oneshot                                                                                                                                                                                                     
RemainAfterExit=no                                                                                                                                                                                               
ExecStart=/home/mike/autorip.sh                                                                                                                                                                                  
ExecStop=killall autorip.sh 

It's weird because the script is working but still get these errors. Also need to figure out how to trigger encoding after rip. Also in my autorip script it is finding titles in TINFO should it be finding them in CINFO.

no comments (yet)
sorted by: hot top controversial new old
there doesn't seem to be anything here