2022-01-16, 08:11
(2020-12-13, 03:00)SEIKT Wrote: For anyone using this plugin to stream media with ddurdle's encryption, I have updated the plugin to be compatible with Kodi 19 and added new features. There's also a branch for Kodi 18.
https://github.com/JDRIVO/GDrive-for-KODI
Improvements:
1. Ability to add media flags to movies and episodes in their respective libraries
2. Resume support now functional for encrypted files
3. Watch status marking now functional featuring separate control of movie and episode watch status'
For media flags to be added the format of a STRM file must resemble the following:
python:plugin://plugin.video.gdrive/?mode=video&encfs=True&title=Ted (2012)&video_codec=h264&video_width=1920&video_height=1040&video_duration=6282.326000&aspect_ratio=1.84615384615&audio_codec=dts&audio_channels=6&filename=5DfVdkGdGvpGdWgJm
This is awesome, using rclone and ffprobe to get the mediainfo is genious
In case you don't know Kodi can import mediainfo for any strm file from a relevant nfo file.
So instead of building big plugin urls you could use nfo files for that.
An example
mymovie.nfo for mymovie.strm
Kodi while scraping the strm file will import the mediainfo from the nfo file of it.
Code:
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<movie>
<fileinfo>
<streamdetails>
<video>
<codec>h264</codec>
<micodec>h264</micodec>
<bitrate>864000</bitrate>
<width>1280</width>
<height>544</height>
<aspect>2.353</aspect>
<aspectratio>2.353</aspectratio>
<framerate>23.976</framerate>
<scantype>progressive</scantype>
<default>True</default>
<forced>False</forced>
<duration>124</duration>
<durationinseconds>7484</durationinseconds>
</video>
<audio>
<codec>aac</codec>
<micodec>aac</micodec>
<language>en</language>
<channels>2</channels>
<samplingrate>48000</samplingrate>
<default>True</default>
<forced>False</forced>
</audio>
<subtitle>
<codec>subrip</codec>
<micodec>subrip</micodec>
<language>en</language>
<default>True</default>
<forced>False</forced>
</subtitle>
</streamdetails>
</fileinfo>
</movie>