9anime-Companion icon indicating copy to clipboard operation
9anime-Companion copied to clipboard

metadata.json

Open PradipH31 opened this issue 8 years ago • 6 comments

Select your issue type: (check at least one)

  • [ ] Bug
  • [ ] Question
  • [x] Suggestion
  • [ ] Other (please describe):

Describe your issue: How about adding facility of creating metadata.json while downloading from G1 server?

PradipH31 avatar Oct 18 '17 21:10 PradipH31

Its possible, but this problem is already solved by downloading via browser. @WEBhicham what do you think? Info about metadata.json: https://github.com/lap00zza/Grabber#what-is-metadatajson

lap00zza avatar Oct 19 '17 06:10 lap00zza

If I had to download Detective Conan for example it would be way difficult with the browser with 800+ episodes.

PradipH31 avatar Oct 19 '17 06:10 PradipH31

True. And since G1 sends direct media links renaming them via title param is not possible. Alright, I will accept a PR for this (or, implement it myself sometime next week).

lap00zza avatar Oct 19 '17 06:10 lap00zza

If that can not be then I would like to request metadata.json sample for anime series. I tried to create one using the example from One Piece Gold movie but for series, it only renamed the last episode.

PradipH31 avatar Oct 19 '17 06:10 PradipH31

The basic format is this

{
	"animeName": "NAME",
	"animeUrl": "9anime_Episode_URL",
        // files is what is important
	"files": [{
			"original": "ORIGINAL_NAME.ext",
			"real": "PROPER_NAME.ext"
	}, {
                        // example
			"original": "bVTiwZTHZS2Lmme.mp4",
			"real": "one piece film_ gold-ep_001-standard.mp4"
	}],
	"timestamp": "TIMESTAMP",
	"server": "SERVER"
}

lap00zza avatar Oct 19 '17 06:10 lap00zza

Thank you.

PradipH31 avatar Oct 19 '17 06:10 PradipH31