Guest - Testers are needed for the reworked CDateTime core component. See... https://forum.kodi.tv/showthread.php?tid=378981 (September 29) x
DISK menu item not showing up anymore when DVD inserted in USB DVD drive
#1
Hi, I have a Hitachi USB DVD drive which used to put up a `DISK` option in Kodi, when the disk was inserted, but now does not. I don't know what has changed.
I am running on RPi5 with Dietpi v9.1-1

The `/dev/sr0` device is present.

Anyone have any idea's ? This is what dmesg says on bootup of the device.
```
[    1.581565] usb 1-2: New USB device found, idVendor=0e8d, idProduct=1887, bcdDevice= 0.00
[    1.582343] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.582811] usb 1-2: Product: Portable Super Multi Drive
[    1.583464] usb 1-2: Manufacturer: Hitachi-LG Data Storage Inc
[    1.583962] usb 1-2: SerialNumber: KX1E89M2559         
[    1.588900] usb-storage 1-2:1.0: USB Mass Storage device detected
[    1.589473] scsi host0: usb-storage 1-2:1.0

``` 
and ...

```
[    2.599025] scsi 0:0:0:0: CD-ROM            HL-DT-ST DVDRAM GP60NS50  1.00 PQ: 0 ANSI: 0
[    2.606210] scsi 0:0:0:0: Attached scsi generic sg0 type 5
[    2.618954] sr 0:0:0:0: Power-on or device reset occurred
[    2.629382] sr 0:0:0:0: [sr0] scsi3-mmc drive: 24x/24x writer dvd-ram cd/rw xa/form2 cdda tray
[    2.629387] cdrom: Uniform CD-ROM driver Revision: 3.20
[    2.631345] sr 0:0:0:0: Attached scsi CD-ROM sr0
```
Also, can somone remind me how to turn on Kodi logging and location of log files (For Linux)
Reply
#2
I did find the logs, this part is when I try to open the DVD stream in the File menu ..
Quote: info <general>: VideoPlayer::OpenFile: /dvd/dvd.mpg
2024-01-31 09:20:16.164 T:863      info <general>: Creating InputStream
2024-01-31 09:20:16.626 T:799      info <general>: PVR Manager: Starting cleanup of cached images.
2024-01-31 09:20:16.713 T:799      info <general>: PVR Manager: Cleaned up 0 cached images.
2024-01-31 09:20:18.414 T:863      info <general>: Creating Demuxer
2024-01-31 09:20:18.457 T:863      info <general>: Opening stream: 0 source: 256
2024-01-31 09:20:18.457 T:863      info <general>: Creating video codec with codec id: 2
2024-01-31 09:20:18.457 T:863      info <general>: CDVDVideoCodecDRMPRIME::Open - using decoder V4L2 mem2mem MPEG2 decoder wrapper
2024-01-31 09:20:18.460 T:863      info <general>: CDVDVideoCodecDRMPRIME::Open - unable to open codec
2024-01-31 09:20:18.461 T:863      info <general>: CDVDVideoCodecDRMPRIME::Open - using decoder MPEG-2 video
2024-01-31 09:20:18.461 T:766      info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
2024-01-31 09:20:18.461 T:863      info <general>: Creating video thread
2024-01-31 09:20:18.461 T:873      info <general>: running thread: video_thread
2024-01-31 09:20:18.486 T:873     error <general>: CDVDVideoCodecDRMPRIME::FilterOpen - avfilter_graph_config:  Function not implemented (-38)
2024-01-31 09:20:18.488 T:873     error <general>: CDVDVideoCodecDRMPRIME::FilterOpen - avfilter_graph_config:  Invalid argument (-22)
2024-01-31 09:20:18.561 T:863   warning <general>: CDVDMessageQueue(audio):Tongueut MSGQ_NOT_INITIALIZED
2024-01-31 09:20:18.574 T:719      info <general>: Loading skin file: VideoFullScreen.xml, load type: KEEP_IN_MEMORY
2024-01-31 09:20:18.762 T:863      info <general>: CVideoPlayer::OnExit()
2024-01-31 09:20:18.762 T:863      info <general>: VideoPlayer: eof, waiting for queues to empty
2024-01-31 09:20:18.762 T:863      info <general>: Closing stream player 2
2024-01-31 09:20:18.762 T:863      info <general>: CDVDMessageQueue(video)::WaitUntilEmpty
2024-01-31 09:20:18.762 T:863      info <general>: waiting for video thread to exit
2024-01-31 09:20:18.762 T:873      info <general>: thread end: video_thread
2024-01-31 09:20:18.762 T:863      info <general>: deleting video codec
2024-01-31 09:20:18.764 T:768      info <general>: Deleting settings information for files /dvd/dvd.mpg
2024-01-31 09:20:18.786 T:719      info <general>: CVideoPlayer::CloseFile()
2024-01-31 09:20:18.786 T:719      info <general>: VideoPlayer: waiting for threads to exit
2024-01-31 09:20:18.786 T:719      info <general>: VideoPlayer: finished waiting
2024-01-31 09:20:18.786 T:719      info <general>: CVideoPlayer::CloseFile()
2024-01-31 09:20:18.786 T:719      info <general>: VideoPlayer: waiting for threads to exit
2024-01-31 09:20:18.786 T:719      info <general>: VideoPlayer: finished waiting
2024-01-31 09:20:22.402 T:766     error <general>: GetDirectory - Error getting root
2024-01-31 09:20:22.402 T:795     error <general>: GetDirectory - Error getting Files
2024-01-31 09:20:24.251 T:767      info <general>: CDVDVideoCodecFFmpeg::Open() Using codec: MPEG-2 video
Reply

Logout Mark Read Team Forum Stats Members Help
DISK menu item not showing up anymore when DVD inserted in USB DVD drive0