cguZZman / plugin.googledrive

The Google Drive addon for Kodi
GNU General Public License v3.0
212 stars 72 forks source link

Create STRM #230

Closed luhanmcs closed 3 years ago

luhanmcs commented 3 years ago

I have about 14k of videos, the process of creating "strm" takes many hours to finish. Would it be possible to use rclone as a resource to obtain the links? The rclone takes a few minutes to generate a list in "txt" with the links and paths of the videos, just extracting the links from "txt" and creating "strm" through them. https://rclone.org/commands/rclone_lsf/ https://rclone.org/commands/rclone_lsjson/ command rclone result rclone Thnks great Addon....

cguZZman commented 3 years ago

I don't think so. The strm file needs to have a link pointing to the addon in kodi, with parameters like the drive and file id. I don't see how rclone could generate it.

luhanmcs commented 3 years ago

The rclone can obtain the file ID and can generate a list with the complete data of the files. While the drive ID can be obtained through the settings of the rclone or the current method of the addon. The difference with rclone is that it can generate a list of links in a few minutes (16k of videos = 2min) and from the list of IDs, names, location, types and create the STRM. Sorry for my insistence. I don't know if that can help or show what I mean. https://github.com/JDRIVO/gDrive-for-Kodi/blob/master/strm_builder_example.py https://github.com/xyou365/AutoRclone