Roku Direct Publisher

The easiest way to create a great TV experience.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
coskel
Level 10

Unterminated object error in long description

I am getting the following error in my JSON file.

 
The feed format is invalid. We are unable to parse it.: com.google.gson.stream.MalformedJsonException: Unterminated object at line 28 column 146 path $.liveFeeds[0].longDescription
 
Here are lines 27-29 truncated for reference, I can't find where the error is.
      "shortDescription": "Go Live Sports Cast. We broadcast live pro and amateur sports video",
      "longDescription": "We broadcast live pro and amateur sports video under the portal Go Live Sports Cast. Events include ESPN broadcasts, The Ocho, Baseball, Footy, Cornhole, Arena soccer, Boxing, MMA, Soccer and racing. Amateur football, hockey, basketball and other sports. MMA and Boxing are rated PG 14 V",
      "tags": [
Any help is highly appreciated.
Thank you in advance.
Channels: Go Live Sports Cast/Spectrum Audiobooks
"All I've had today is, like, six gummy bears and some scotch."
0 Kudos
4 REPLIES 4
Baradanikto
Level 13

Re: Unterminated object error in long description

It's hard to tell what the problem is with the snippet you've provided.  The actual problem may have occurred in the feed lines you have not shown.  If possible, post the entire feed file.

FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ GitHub/rrirower. No programming knowledge required.
0 Kudos
coskel
Level 10

Re: Unterminated object error in long description

{
  "lastUpdated": "2022-03-02T04:23:24+00:00",
  "providerName": "Soundque Entertainment Inc",
  "language": "en-US",
  "liveFeeds": [
    {
      "id": "baa3598ae6e646b5a03e68d6c8001a32",
      "title": "GoLiveSportsCast",
      "content": {
        "dateAdded": "2022-02-22T10:05:27+00:00",
        "videos": [
          {
            "url": "https://golive-sports.evrideo.tv/68e54923-b4ba-4a1e-99e3-abc2747104fd_1000016170_HLS/master.m3u8",
            "quality": "HD",
            "videoType": "HLS"
          }
        ],
        "duration": 86400,
        "validityPeriodStart": "2022-02-23T16:22:55+00:00",
        "validityPeriodEnd": "2048-01-01T08:33:41+00:00",
        "adBreaks": [
          "00:30:00"
        ]
      },
      "thumbnail": "https://golivesportscast.com/roku/GLSC-ROKU2022.png",
      "brandedThumbnail": "https://golivesportscast.com/roku/GLSC-ROKU2022.png",
      "shortDescription": "Go Live Sports Cast. We broadcast live pro and amateur sports video",
      "longDescription": "We broadcast live pro and amateur sports video under the portal Go Live Sports Cast. Events include ESPN broadcasts, The Ocho, Baseball, Footy, Cornhole, Arena soccer, Boxing, MMA, Soccer and racing. Amateur football, hockey, basketball and other sports. MMA and Boxing are rated PG 14 V",
      "tags": [
        "linear",
        "sports",
        "soccer",
        "hockey",
        "cornhole",
        "footy",
        "USAFL",
        "MMA",
        "Boxing",
        "Racing",
        "Ocho"
      ],
      "rating": {
        "rating": "TVMA",
        "ratingSource": "MPAA"
      },
      "genres": [
        "sports"
      ]
    }
  ],
  "categories": [
    {
      "name": "Combat Sports",
      "query": "MMA AND boxing",
      "order": "chronological"
    },
    {
      "name": "Racing",
      "query": "Racing",
      "order": "chronological"
    },
    {
      "name": "USAFL",
      "query": "USAFL AND footy",
      "order": "most_recent"
    },
    {
      "name": "Baseball",
      "query": "Baseball",
      "order": "most_recent"
    },
    {
      "name": "Hockey",
      "query": "Hockey",
      "order": "chronological"
    },
    {
      "name": "Ocho",
      "query": "Ocho  OR ESPN",
      "order": "most_recent"
    },
    {
      "name": "Arena Soccer",
      "query": "soccer AND PASL",
      "order": "most_recent"
    },
    {
      "name": "Other Sports",
      "query": "Rodeo OR Classic cars",
      "order": "chronological"
    }
  ]
}
Channels: Go Live Sports Cast/Spectrum Audiobooks
"All I've had today is, like, six gummy bears and some scotch."
0 Kudos
Baradanikto
Level 13

Re: Unterminated object error in long description

What are you using to compose the feed file?  It appears you may be using an external tool that utilizes gson.  I would guess that there's an error in the code that composes the feed file.

FREE Windows desktop software for creating BIF (Trick Play), Direct Publisher (MRSS, JSON), and FireTV feeds @ GitHub/rrirower. No programming knowledge required.
0 Kudos
sattun
Level 10

Re: Unterminated object error in long description

Hi @coskel ,

I think the issue is this character:Screen Shot 2022-05-09 at 11.37.53 PM.png

 

Also, if you are looking for a robust solution to manage your content feed, then check out our OTTfeed.com platform, it will save you a lot of time and frustration managing and debugging your feed.


Here are some of the features:

- Supports all types of content (Movie, Series, Episodic, TV specials, Short-form and Live)
- Create categories and playlists and organize by tags or titles
- Preview content before publishing your feed
- Specify ad breaks for each video in addition to global ad breaks
- Build a cast library and add credits to each video
- Connect and import video metadata from Vimeo account with access token
- Supports multi-images, trickplay, closed caption, subtitles and much more
- Content feed is secure and hosted on a CDN

If you are interested go to https://OTTfeed.com and click "Start 7-day free trial”.

OTTfeed: all-in-one video feed management system for Roku Direct Publisher. Start 7-Day free trial then $49/month go to https://OTTfeed.com
0 Kudos