public mp4v2Tagging(MetaXMLHandler.MetaDataModel mdm, String pathToMp4File) { mp4tagsPath = Application.StartupPath + "\\libs\\mp4tags.exe"; mp4tagsArg = "-song " + quote(mdm.title) + " -genre " + mdm.genre + " -longdesc " + quote(mdm.longDescription) + " -description " + quote(mdm.description) + " -rating " + mdm.contentRate + " -year " + mdm.releaseDate; if (mdm.hd == "SD") { mp4tagsArg += " -hdvideo 0"; } else { mp4tagsArg += " -hdvideo 1"; } if (mdm.mediaType == "电视剧") { mp4tagsArg += " -type tvshow -network " + mdm.tvNetwork + " -show " + quote(mdm.tvShow) + " -episode " + mdm.episodeNum + " -season " + mdm.seasonNum; } else if (mdm.mediaType == "电影") { mp4tagsArg += " -type movie"; } mp4tagsArg += " " + quote(pathToMp4File); }
public MovieSpecificConfig(MetaXMLHandler.MetaDataModel mdm) { InitializeComponent(); if (mdm.mediaType == "电影") { cbGenre.Text = mdm.genre; cbRating.Text = mdm.rating; } }
public TVSpecificConfig( MetaXMLHandler.MetaDataModel mdm ) { InitializeComponent(); tbTVShow.Text = mdm.tvShow; tbTVNetwork.Text= mdm.tvNetwork; tbTVSeason.Text = mdm.seasonNum; tbEpisodeNum.Text = mdm.episodeNum; if (mdm.mediaType == "电视剧") { cbGenre.Text = mdm.genre; cbRating.Text = mdm.rating; } }