Hi all.
I've been trying to creat a web source to fetch all relevant metadata from the json API from:
http:/api.tvmaze.com
Example:
https://[api.tvmaze.com/search/shows?q=
Show
https://[api.tvmaze.com/search/shows?q=bad girls
to retreve,
[
{
"score": 1.1978122,
"show": {
"id": 1308,
"url": "Bad Girls | TVmaze",
"name": "Bad Girls",
"type": "Scripted",
"language": "English",
"genres": [
"Drama",
"Crime",
"Romance"
],
"status": "Ended",
"runtime": 60,
"averageRuntime": 61,
"premiered": "1999-06-01",
"ended": "2006-12-18",
"officialSite": null,
"schedule": {
"time": "21:00",
"days": [
"Thursday"
]
},
"rating": {
"average": 7.8
},
"weight": 85,
"network": {
"id": 35,
"name": "ITV1",
"country": {
"name": "United Kingdom",
"code": "GB",
"timezone": "Europe/London"
},
"officialSite": "https://www.itv.com/"
},
"webChannel": null,
"dvdCountry": null,
"externals": {
"tvrage": 2701,
"thetvdb": 75328,
"imdb": "tt0203248"
},
"image": {
"medium": "https://static.tvmaze.com/uploads/images/medium_portrait/7/18492.jpg",
"original": "https://static.tvmaze.com/uploads/images/original_untouched/7/18492.jpg"
},
"summary": "
Step inside HMP Larkhall and meet the women of G-Wing, who've committed various offences that range from shoplifting to murder. Bad Girls shows what life is like for these women in the 'inside world' and also shows the real-life problems (and maybe behaviour!) of the officers who watch them!
","updated": 1704793701,
"_links": {
"self": {
"href": "https://api.tvmaze.com/shows/1308"
},
"previousepisode": {
"href": "https://api.tvmaze.com/episodes/111010",
"name": "Christmas Special 2006"
}
}
}
},
{
"score": 1.1170151,
"show": {
"id": 22411,
"url": "Bad Girls | TVmaze",
"name": "Bad Girls",
"type": "Scripted",
"language": "Korean",
"genres": [
"Drama",
"Romance"
],
"status": "Ended",
"runtime": 65,
"averageRuntime": 65,
"premiered": "2002-05-08",
"ended": "2002-06-27",
"officialSite": "³»°¡ ¸¸µå´Â »õ ¹Ìµð¾î ¼¼»ó! www.sbs.co.kr",
"schedule": {
"time": "21:55",
"days": [
"Wednesday",
"Thursday"
]
},
"rating": {
"average": null
},
"weight": 20,
"network": {
"id": 127,
"name": "SBS",
"country": {
"name": "Korea, Republic of",
"code": "KR",
"timezone": "Asia/Seoul"
},
"officialSite": null
},
"webChannel": null,
"dvdCountry": null,
"externals": {
"tvrage": null,
"thetvdb": 281126,
"imdb": null
},
"image": null,
"summary": "
Jae Kyung, Yeol Mae, and Yun Hee are three inseparable friends. Yun Hee is married to Taek Su. In Ku is Jae Kyung's boyfriend, and Bong Chul is Yeol Mae's boyfriend.
Taek Su is having an affair with a fellow co-worker, which his wife finds out about. Yun Hee decides to find her own success in the workplace rather than live as a homemaker for her husband.
In a competitive businessplace, Jae Kyung wins a high position, but her superior, Jang Su tries to sexually harass her. When In Ku found it out, he got angry, but kept the story quiet in exchange for the position that Jae Kyung had gotten. Jae Kyung, feeling betrayed, moves to a another city to work as a supervisior, where she meets Sin Ho, who works as a manager there. Sin Ho is a warm-hearted guy that falls for Jae Kyung.
In Ku, though, is not a guy crazy for ambition, but has his own dark family secret, connected to the company's president, Lee Soon Jae which is why he wants to succeed in that company. This yearning for recognition constantly puts him in a dilemma where he has to decide whether to get his success or Jae Kyung.
Bong Chul is an unemployed 'bum' that always uses money that innocent Yeol Mae gives.
In the beginning of the drama, guys defined a 'bad girl' as a girl that is sexy, smart, and cute because they are hard to control, but the drama tries to redefine the stereotypical images of career women.
","updated": 1573582046,
"_links": {
"self": {
"href": "https://api.tvmaze.com/shows/22411"
},
"previousepisode": {
"href": "https://api.tvmaze.com/episodes/975668",
"name": "Episode 16"
}
}
}
},
{
"score": 0.9971027,
"show": {
"id": 20423,
"url": "Pretty Bad Girls | TVmaze",
"name": "Pretty Bad Girls",
"type": "Documentary",
"language": "English",
"genres": [
"Drama",
"Action",
"Crime"
],
"status": "Ended",
"runtime": 30,
"averageRuntime": 30,
"premiered": "2012-12-07",
"ended": "2013-01-11",
"officialSite": null,
"schedule": {
"time": "21:00",
"days": [
"Friday"
]
},
"rating": {
"average": null
},
"weight": 58,
"network": {
"id": 89,
"name": "Investigation Discovery",
"country": {
"name": "United States",
"code": "US",
"timezone": "America/New_York"
},
"officialSite": "https://www.investigationdiscovery.com/"
},
"webChannel": null,
"dvdCountry": null,
"externals": {
"tvrage": null,
"thetvdb": 265088,
"imdb": "tt2566646"
},
"image": {
"medium": "https://static.tvmaze.com/uploads/images/medium_portrait/357/894683.jpg",
"original": "https://static.tvmaze.com/uploads/images/original_untouched/357/894683.jpg"
},
"summary": "
A true-crime series bares what happens when beautiful, fabulous women have more than killer clothes in their closets. They have skeletons, too. These sexy criminals know exactly what they want, and are willing to do anything to get it, no matter the cost. They will lie, cheat, steal, and even kill.
","updated": 1631818562,
"_links": {
"self": {
"href": "https://api.tvmaze.com/shows/20423"
},
"previousepisode": {
"href": "https://api.tvmaze.com/episodes/904609",
"name": "Born Bad"
}
}
}
},
{
"score": 0.99484456,
"show": {
"id": 518,
"url": "Bad Girls Club | TVmaze",
"name": "Bad Girls Club",
"type": "Reality",
"language": "English",
"genres": ,
"status": "Ended",
"runtime": 60,
"averageRuntime": 60,
"premiered": "2006-12-05",
"ended": "2017-05-02",
"officialSite": "Bad Girls Club | Oxygen Official Site",
"schedule": {
"time": "20:00",
"days": [
"Tuesday"
]
},
"rating": {
"average": null
},
"weight": 56,
"network": {
"id": 79,
"name": "Oxygen True Crime",
"country": {
"name": "United States",
"code": "US",
"timezone": "America/New_York"
},
"officialSite": null
},
"webChannel": null,
"dvdCountry": null,
"externals": {
"tvrage": 14714,
"thetvdb": 134161,
"imdb": "tt0914829"
},
"image": {
"medium": "https://static.tvmaze.com/uploads/images/medium_portrait/393/984710.jpg",
"original": "https://static.tvmaze.com/uploads/images/original_untouched/393/984710.jpg"
},
"summary": "
This season on Bad Girls Club, the best of the bad move into a LA mansion, ready to ride the rocky road to change, while making new friends and facing off with old enemies along the way. Life coach Laura returns to help each girl empower themselves, curb their temper and reach their personal goals and aspirations, but will old habits die hard or will these alpha females be ready to change for the better?
","updated": 1704793701,
"_links": {
"self": {
"href": "https://api.tvmaze.com/shows/518"
},
"previousepisode": {
"href": "https://api.tvmaze.com/episodes/1124717",
"name": "Reunion, Part 2"
}
}
}
},
{
"score": 0.96761924,
"show": {
"id": 67409,
"url": "Rokudo's Bad Girls | TVmaze",
"name": "Rokudo's Bad Girls",
"type": "Animation",
"language": null,
"genres": [
"Comedy",
"Anime",
"Romance"
],
"status": "Running",
"runtime": null,
"averageRuntime": null,
"premiered": "2023-04-08",
"ended": null,
"officialSite": "https://www.rokudo-akujo.com",
"schedule": {
"time": "",
"days":
},
"rating": {
"average": null
},
"weight": 34,
"network": {
"id": 132,
"name": "Tokyo MX",
"country": {
"name": "Japan",
"code": "JP",
"timezone": "Asia/Tokyo"
},
"officialSite": null
},
"webChannel": null,
"dvdCountry": null,
"externals": {
"tvrage": null,
"thetvdb": 429895,
"imdb": null
},
"image": {
"medium": "https://static.tvmaze.com/uploads/images/medium_portrait/451/1128580.jpg",
"original": "https://static.tvmaze.com/uploads/images/original_untouched/451/1128580.jpg"
},
"summary": "
The story follows Tо̄suke Rokudо̄, a timid high school boy who gets bullied by delinquents. He receives a scroll from his late grandfather, leaving a mark on his forehead. The mark's effect causes a delinquent girl named Ranna Himawari to fall in love with him.
","updated": 1687608034,
"_links": {
"self": {
"href": "https://api.tvmaze.com/shows/67409"
},
"previousepisode": {
"href": "https://api.tvmaze.com/episodes/2541578",
"name": "Our Dream School Lives Have Begun"
}
}
}
},
{
"score": 0.8956138,
"show": {
"id": 40463,
"url": "Bad Girls Behind Bars | TVmaze",
"name": "Bad Girls Behind Bars",
"type": "Documentary",
"language": "English",
"genres": ,
"status": "Ended",
"runtime": 65,
"averageRuntime": 63,
"premiered": "2019-01-17",
"ended": "2020-11-26",
"officialSite": "No access outside UK",
"schedule": {
"time": "22:00",
"days": [
"Tuesday"
]
},
"rating": {
"average": null
},
"weight": 69,
"network": {
"id": 135,
"name": "Channel 5",
"country": {
"name": "United Kingdom",
"code": "GB",
"timezone": "Europe/London"
},
"officialSite": "https://www.channel5.com/"
},
"webChannel": null,
"dvdCountry": null,
"externals": {
"tvrage": null,
"thetvdb": 358350,
"imdb": null
},
"image": {
"medium": "https://static.tvmaze.com/uploads/images/medium_portrait/181/453223.jpg",
"original": "https://static.tvmaze.com/uploads/images/original_untouched/181/453223.jpg"
},
"summary": "
Series offering an intimate look at being a woman in a US jail.
","updated": 1719761628,
"_links": {
"self": {
"href": "https://api.tvmaze.com/shows/40463"
},
"previousepisode": {
"href": "https://api.tvmaze.com/episodes/2370278",
"name": "Episode 6"
}
}
}
},
{
"score": 0.86200714,
"show": {
"id": 1977,
"url": "The Bad Girl's Guide | TVmaze",
"name": "The Bad Girl's Guide",
"type": "Scripted",
"language": "English",
"genres": [
"Comedy"
],
"status": "Ended",
"runtime": 30,
"averageRuntime": 30,
"premiered": "2005-05-24",
"ended": "2005-07-05",
"officialSite": null,
"schedule": {
"time": "21:30",
"days": [
"Tuesday"
]
},
"rating": {
"average": null
},
"weight": 37,
"network": {
"id": 70,
"name": "UPN",
"country": {
"name": "United States",
"code": "US",
"timezone": "America/New_York"
},
"officialSite": null
},
"webChannel": null,
"dvdCountry": null,
"externals": {
"tvrage": 5596,
"thetvdb": 73922,
"imdb": "tt0437702"
},
"image": {
"medium": "https://static.tvmaze.com/uploads/images/medium_portrait/11/27953.jpg",
"original": "https://static.tvmaze.com/uploads/images/original_untouched/11/27953.jpg"
},
"summary": "
Cameron Tuttle's sassy rule books for women inspired this short-lived sitcom about an ad exec, who lives life on her own terms, and her friends.
","updated": 1468165409,
"_links": {
"self": {
"href": "https://api.tvmaze.com/shows/1977"
},
"previousepisode": {
"href": "https://api.tvmaze.com/episodes/160869",
"name": "The Guide To In and Out"
}
}
}
},
{
"score": 0.84637177,
"show": {
"id": 34298,
"url": "Bad Girls Road Trip | TVmaze",
"name": "Bad Girls Road Trip",
"type": "Reality",
"language": "English",
"genres": ,
"status": "Ended",
"runtime": 30,
"averageRuntime": 30,
"premiered": "2007-06-12",
"ended": "2007-07-24",
"officialSite": null,
"schedule": {
"time": "22:00",
"days": [
"Tuesday"
]
},
"rating": {
"average": null
},
"weight": 28,
"network": {
"id": 79,
"name": "Oxygen True Crime",
"country": {
"name": "United States",
"code": "US",
"timezone": "America/New_York"
},
"officialSite": null
},
"webChannel": null,
"dvdCountry": null,
"externals": {
"tvrage": null,
"thetvdb": null,
"imdb": null
},
"image": {
"medium": "https://static.tvmaze.com/uploads/images/medium_portrait/189/473716.jpg",
"original": "https://static.tvmaze.com/uploads/images/original_untouched/189/473716.jpg"
},
"summary": "
Bad Girls Road Trip follows The Bad Girls Club season one housemates Leslie, Aimee and Zara as they travel cross country to meet each other's friends and family; visit the other bad girls' in their hometowns and help cast the second season of the show. With plenty of unfinished business and unanswered questions from their time living together, drama follows these unapologetic, outrageous women across the country. Stops include cast mate Kerry's country music scene in Nashville, Zara's one-stoplight town in upstate New York and an eventful reunion in Boston with former housemate Rispi, who left the house after a drunken altercation in the first week of season one.
","updated": 1553424460,
"_links": {
"self": {
"href": "https://api.tvmaze.com/shows/34298"
},
"previousepisode": {
"href": "https://api.tvmaze.com/episodes/1386019",
"name": "Hair Today, Gone Tomorrow"
}
}
}
},
{
"score": 0.7706391,
"show": {
"id": 24495,
"url": "Bad Girls All Star Battle | TVmaze",
"name": "Bad Girls All Star Battle",
"type": "Reality",
"language": "English",
"genres": ,
"status": "Ended",
"runtime": 60,
"averageRuntime": 60,
"premiered": "2013-05-21",
"ended": "2014-04-08",
"officialSite": null,
"schedule": {
"time": "21:00",
"days": [
"Tuesday"
]
},
"rating": {
"average": null
},
"weight": 28,
"network": {
"id": 236,
"name": "Oprah Winfrey Network",
"country": {
"name": "United States",
"code": "US",
"timezone": "America/New_York"
},
"officialSite": null
},
"webChannel": null,
"dvdCountry": null,
"externals": {
"tvrage": null,
"thetvdb": 269767,
"imdb": "tt3228564"
},
"image": {
"medium": "https://static.tvmaze.com/uploads/images/medium_portrait/93/233463.jpg",
"original": "https://static.tvmaze.com/uploads/images/original_untouched/93/233463.jpg"
},
"summary": "
Hosted by musician and actor Ray J, Bad Girls All Star Battle features fun, over-the-top physical and mental challenges that will test the limits of the world's feistiest ladies.
","updated": 1704793701,
"_links": {
"self": {
"href": "https://api.tvmaze.com/shows/24495"
},
"previousepisode": {
"href": "https://api.tvmaze.com/episodes/1041688",
"name": "Most All Star Moments"
}
}
}
},
{
"score": 0.68099624,
"show": {
"id": 12854,
"url": "Love Games: Bad Girls Need Love Too | TVmaze",
"name": "Love Games: Bad Girls Need Love Too",
"type": "Reality",
"language": "English",
"genres": [
"Romance"
],
"status": "Ended",
"runtime": 60,
"averageRuntime": 60,
"premiered": "2010-03-16",
"ended": "2013-01-15",
"officialSite": null,
"schedule": {
"time": "21:00",
"days": [
"Tuesday"
]
},
"rating": {
"average": null
},
"weight": 32,
"network": {
"id": 79,
"name": "Oxygen True Crime",
"country": {
"name": "United States",
"code": "US",
"timezone": "America/New_York"
},
"officialSite": null
},
"webChannel": null,
"dvdCountry": null,
"externals": {
"tvrage": null,
"thetvdb": 222501,
"imdb": null
},
"image": {
"medium": "https://static.tvmaze.com/uploads/images/medium_portrait/43/109910.jpg",
"original": "https://static.tvmaze.com/uploads/images/original_untouched/43/109910.jpg"
},
"summary": "
Cupid's arrow strikes as Oxygen debuts the new original series, Love Games: Bad Girls Need Love Too -- a spin-off of the hit reality series "Bad Girls Club". The dating competition series, "Love Games" features three former "Bad Girls Club" stars -- Amber (season three), Kendra (season four) and Sarah (season three) vying for the man of their dreams. The ladies bring their feisty ways back to the airwaves in search of love from a pool of 13 eligible suitors. Comedian Bret Ernst ("Wild West Comedy Show") hosts the eight one-hour episode series. Each week Amber, Kendra and Sarah, have the group of bachelors competing for their attention in a series of off-the-wall challenges and entertaining group dates. The girls must try to put their bad aside in an attempt to work together to narrow the field and identify the guy that's most ideal for them.
","updated": 1521534020,
"_links": {
"self": {
"href": "https://api.tvmaze.com/shows/12854"
},
"previousepisode": {
"href": "https://api.tvmaze.com/episodes/608237",
"name": "...And in the End"
}
}
}
}
]
I was hoping to map:
Show Name to album
Network Name to artist and albumartist
the first 4 digits of the year released to the year field
Copywrite to the Network Name
Publisher to network name
then call a second api request using:
https://api.tvmaze.com/shows/%s/episodes?specials=1
The problem is that the following needs the show ID which is found in the previous search for a tv show.
I've tried running a search for just the show casualty for now.
When testing it in the api on edge it works but doesn't in mp3tag.
I've been trying to use the discogs web source for reference but not getting anywhere.
I have no need to use TinyMediaManager or pay for filebot, because I am completely blind, therefore extract the audio track with audio discription to mp3, then add it to my itunes, which is why I'm trying to do this.
Any help, explaining where i'm going wrong and perhaps showing me how I can fix it it would be awsome.
I'd like to learn how to make this, and others, if I can without someone doing it for me.
Thank you all.
Best regards:
Melissa Cox.
&TVMaze#&TVMaze MultiEndpoint.src (1.2 KB)
&TVMaze#&TVMaze Search.src (1.2 KB)
&TVMaze#&TVMaze Single Episodes.src (225 Bytes)
&TVMaze#&TVMaze.src (1.2 KB)