Comments (9)
I've tried several different .srt-s for different movies and with various encodings by now and none of them have worked. However, when I convert them to .vtt-s (with the tool here), those work fine.
from gnomecast.
np. the other linked file should be enough. i found a python library that purports to autodetect encodings. will test out and try to incorporate into a PR soon. thanks for your all's help!
from gnomecast.
Hi @HFel,
I was experiencing the same behavior and it turned that the import was not successful due to the subtitles file not being UTF-8 encoded.
So I opened the subtitles file with gedit, saved it encoding it with utf-8 and afterwards gnomecast picked up the new file without any issue.
I hope this helps.
from gnomecast.
can you send a link to where i can download this subtitle file?
from gnomecast.
Hi @keredson,
The file that I had to re-encode is available here (file name is Tous.Les.Soleils.2011.FRENCH.SUBFORCED.DVDRiP.XViD-AViTECH.spa.srt).
from gnomecast.
Sorry for the late response. Unfortunately I don't have that subtitle anymore. However, in case the issue was caused for the same reason as @olivieridav gave, would it be possible to make Gnomecast automatically convert the encoding (or at least give an error message so the user knows what the problem was)?
from gnomecast.
Hi,
I'm facing the same problem i saved it encoding it with utf-8, but got same problem. i'l be waiting for merged PR
from gnomecast.
so it looks like i'm already doing this. see
Line 702 in 8073021
by using pycaption
's built in decoding detection.
so i went back and checked out Tous.Les.Soleils.2011.FRENCH.SUBFORCED.DVDRiP.XViD-AViTECH.spa.srt
, and it imported just fine.
if anyone has any other examples of files that won't import for them, please post links to them here and i'll try and debug further.
from gnomecast.
Here is a subttile that fails to add:
https://1drv.ms/u/s!Aq87ZQshMd2thJ4Dfu8-O80Sg0BSGA
Works when converted to vtt as mentioned by @HFel
from gnomecast.
Related Issues (20)
- Error playing Brown Noise 8 Hours, for Relaxation, Sleep, Studying and Tinnitus.webm
- [Feature] Create as appimage
- Error playing Total Recall 1990 BR 720p Qmax.mkv
- GUI freezes on Ubuntu 20.04 when trying to play HOT 2
- Error playing Blade Runner 2049 2017 HDRip 2.18 om lv scarabey.avi
- Error playing Free.Guy.2021.HDRip.XviD.AC3-EVO.avi
- sticky subtitles HOT 8
- socket.gaierror: [Errno -2] Name or service not known HOT 1
- AttributeError: 'Chromecast' object has no attribute 'device' HOT 14
- Error playing 06-Lai-Power-Anemia-Spaghetti-Junction-Remix.mp3 (because it's actually a video somehow!)
- Invalid desktop files detected HOT 1
- exception
- Error playing 1080p.BluRay.x265-DiN.mkv
- Update package in PyPI to include pychromecast version fix
- Installation issue on Fedora 36 HOT 2
- broken tests on master
- Gnomecast casts video but without audio
- "Invalid stream specifier" error with ffmpeg
- Error playing 2024-02-03 18-40-38.mkv
- Unable to find Chromecast
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gnomecast.