This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private void processXML(string filesWithPath) | |
{ | |
if (filesWithPath != "") | |
{ | |
mySubtitle.Clear(); | |
XmlDocument myXMLDoc = new XmlDocument(); | |
myXMLDoc.Load(filesWithPath); | |
var ps = myXMLDoc.GetElementsByTagName("p"); | |
//each p is a TimedLine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class subtitle | |
{ | |
public string Content | |
{ | |
get | |
{ | |
return content; | |
} | |
set |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#youtube-dl download and Baiduyun bypy auto upload | |
#Written by Sofronio | |
echo -n "youtube-dl start. Please input the youtube id\n" | |
read youtubeid | |
#set path as youtube-dl downlaod path | |
cd /root/y/ |