Comments (15)
感谢反馈。我 NAS 还真没试过,我是根据 URL 的一个方法来获取文件名,不知道 NAS 的 URL 在格式上有什么问题。麻烦告诉我一下你视频在 NAS 上的路径名,和下载后出问题的文件名(要完整,加上扩展名)。我可以尝试解决一下,如果找到解决方法的话,介不介意发给你修改后的软件试一下效果?—
Sent from Mailbox
On Wed, Jun 4, 2014 at 1:26 AM, yangshun1029 [email protected]
wrote:
如果视频文件是放在NAS上面,下载字幕文件会出现名字不完整的现象,这样播放器就无法匹配字幕文件了,我把视频文件拖到了本地硬盘就没有这个问题了,是不是路径上面有些问题呢?
Reply to this email directly or view it on GitHub:
#1
from shootersubx.
我也出现了相同的问题,个人怀疑是不是路径过长导致。后来检查了,发现了可能出问题的地方,正在尝试修改。
from shootersubx.
检测到问题在哪里了。NAS那个并不是由于文件路径过长导致的。程序里filename一扔进nsurl urlwithstring出来就变成缩略的了。用fileurlwithstring 就没有问题。不过手比较生,改完之后又衍生出一些其他的问题。
from shootersubx.
方便留下邮箱么,我可以跟你讨论解决一下。P.S. 我也才学了半个月 Objective-C. —
Sent from Mailbox
On Sun, Jun 8, 2014 at 11:09 AM, whmsysu [email protected] wrote:
检测到问题在哪里了。NAS那个并不是由于文件路径过长导致的。程序里filename一扔进nsurl urlwithstring出来就变成缩略的了。用fileurlwithstring 就没有问题。不过手比较生,改完之后又衍生出一些其他的问题。
Reply to this email directly or view it on GitHub:
#1 (comment)
from shootersubx.
[email protected],objective c也是菜鸟水平。你的项目我觉得十分不错,解决了我一直想要解决的问题。希望大家能够共同使这个这个项目变得更好。我准备再提出一个新的issue,不过不要往坏处想,只是单纯一个建议形式而已。
whm
On Jun 7, 2014, at 11:13 PM, gogozs [email protected] wrote:
方便留下邮箱么,我可以跟你讨论解决一下。P.S. 我也才学了半个月 Objective-C. —
Sent from MailboxOn Sun, Jun 8, 2014 at 11:09 AM, whmsysu [email protected] wrote:
检测到问题在哪里了。NAS那个并不是由于文件路径过长导致的。程序里filename一扔进nsurl urlwithstring出来就变成缩略的了。用fileurlwithstring 就没有问题。不过手比较生,改完之后又衍生出一些其他的问题。
Reply to this email directly or view it on GitHub:
#1 (comment)
—
Reply to this email directly or view it on GitHub.
from shootersubx.
我重新folk了你的代码运行了一下。路径过长的时候,即使有字幕也是很奇怪的获取不到。这个也是一个问题,我也会抽空贡献一下代码,不过主要还是依靠你了。
from shootersubx.
你的路径是怎样的?—
Sent from Mailbox
On Sun, Jun 8, 2014 at 12:16 PM, whmsysu [email protected] wrote:
我重新folk了你的代码运行了一下。路径过长的时候,即使有字幕也是很奇怪的获取不到。这个也是一个问题,我也会抽空贡献一下代码,不过主要还是依靠你了。
Reply to this email directly or view it on GitHub:
#1 (comment)
from shootersubx.
/Users/whm/Documents/Microsoft 用户数据/Office 2011 Identities/Main Identity/Data Records/Contacts/0T/0B/0M/0K/Game of Thrones.S04E08.720p.HDTV.x264-KILLERS.mkv 我用一个视频随便扔到一个文件夹里面。这个视频是确定可以找到字幕的。当前文件夹确认是可以写入的。
反馈信息:
2014-06-08 00:19:17.314 ShooterSubX[13560:303] delay too much, delay:100
2014-06-08 00:19:17.315 ShooterSubX[13560:303] delay too much, delay:-400
2014-06-08 00:19:19.599 ShooterSubX[13560:303] connection successful
2014-06-08 00:19:19.796 ShooterSubX[13560:303] connection finish
from shootersubx.
这几天路由坏了,新路由到了我再测试下,如果有问题再继续反馈
from shootersubx.
嗯,界面卡顿解决了,但我感觉下载速度有点慢…—
Sent from Mailbox
On Sun, Jun 8, 2014 at 8:13 PM, yangshun1029 [email protected]
wrote:
这几天路由坏了,新路由到了我再测试下,如果有问题再继续反馈
Reply to this email directly or view it on GitHub:
#1 (comment)
from shootersubx.
测试了,问题解决了。
from shootersubx.
NAS?—
Sent from Mailbox
On Sun, Jun 8, 2014 at 11:02 PM, whmsysu [email protected] wrote:
测试了,问题解决了。
Reply to this email directly or view it on GitHub:
#1 (comment)
from shootersubx.
NAS上也测试了,没有问题。改成fileurlwithpath之后就没有问题了。
from shootersubx.
对。改成 fileURLWithParh 后,URL 前面会加上 file://, (e.g., file:///Users/foo/bar.xxx)。不过,不知道这里的原理是什么。—
Sent from Mailbox
On Sun, Jun 8, 2014 at 11:35 PM, whmsysu [email protected] wrote:
NAS上也测试了,没有问题。改成fileurlwithpath之后就没有问题了。
Reply to this email directly or view it on GitHub:
#1 (comment)
from shootersubx.
URL是按照网址来处理的,大部分情况都通用,不过当路径过长的时候就会出现一些问题。用fileURLWithPath个人认为是更好的解决方法。
from shootersubx.
Related Issues (14)
- 程序图标 HOT 1
- 视频文件名字中有空格处理有问题 HOT 4
- 下载的时候启用多线程
- 请问你是否使用了xcode6 beta 去进行关于preference窗口的开发? HOT 1
- 什么许可证的? HOT 1
- support subhd.com subtitles
- add search bar
- add a downloading progress view on each cell
- menubar app
- support app update feature
- Can't find the title bar since ver 0.6 HOT 3
- Support SubHD.com
- 希望能够增加字幕数据接口
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 shootersubx.