Kodi Community Forum
[RELEASE] MTV Networks Plugin (MTV, VH1, CMT, Logo) Music Videos - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27)
+---- Forum: Video Add-ons (https://forum.kodi.tv/forumdisplay.php?fid=154)
+---- Thread: [RELEASE] MTV Networks Plugin (MTV, VH1, CMT, Logo) Music Videos (/showthread.php?tid=47349)

Pages: 1 2 3 4 5 6 7 8


- BlueCop - 2009-10-31

badmoviesnbeer Wrote:1. Auto Quality Selection seems to not be picking the "highest" quality source. In quotes because I'm unsure if it considers certain codecs "better" than others without regard for their resolution.
-Couple of the songs I tried in the newly added video picks group had a quality level option of "640x360 1400kbps (h264/aac)", when the default quality setting was set to high it starts playing the "512x288 650kbps (vp6/mp3)" version of the video.
I am aware of those problems and plan to change how the auto quality selection works.
the options will be
codec priority: h264 or vp6
resolution priority: auto choose maximum resolution or specific height/width maximums
bandwidth: specify a maximum bitrate or auto choose maximum bitrate

I think this will give users the best ability to customize while making it easy for those who just want the best possible quality.

badmoviesnbeer Wrote:2. Special character showing up as an encoded value.
- Also currently visible in the video picks group, artist Beyonce where the final letter is accented.
thanks will get on that. I noticed it when I tried it on my linux box. I was writing on my windows laptop and it displayed the accent correctly. I forget about encoding sometimes.
badmoviesnbeer Wrote:3. "Browse Artists by Genre" I think is only listing the first 25 artists that are in that genre.
- I noticed this when going to the alternative genre, and only seeing bands that start with numbers, and the letter A.
- Was not able to figure out if there should be more for sure because I wasn't able to find genre listings on their site.
- Looks to be probably the same thing with "Browse Videos by Genre"
Yeap its broken. I forgot to include controls to page through.

It doesn't actually use the site for any of the listings except the new 3. all others are done with mtvn api

badmoviesnbeer Wrote:4. With the new groups you added in the most recent revision I'm wondering if using a thumbnail icon to identify the network/site instead of the name in parens would look better. Probably depends on what views people tend to use.
I was still considering how to do this. I just added them all on the main list for now. When I add more sources I was thinking of just have a list of network sites on the main list then their video lists inside them. Some thumbnails would be nice for them though.

Update added paging for the genre listings. the plugin setting controls max number per page. defaults to 100 which is the maximum. sort order still broken but will be fixed soon. also default quality is broken right now so i would leave it to ask right now.

Update 2: added codec priority settings. also working max bitrate and max resolution settings. it will try to play the highest resolution and highest bitrate of selected codec. settings custom max width, height, or bitrate will come later.

Update 3: added sort order for genre video lists in settings. this allows for relevance, date ascending, date descending. this allows you to view the newest videos in a genre or the oldest in a genre first which some might find useful. this only works for videos and not artists because they won't sort that way.


Changes in mtv site has broken mtv listings. I am making new expressions for it.


- BlueCop - 2009-11-06

updated regexs for mtv.com because of changes on the site.


- lkraav - 2009-11-10

BlueCop Wrote:updated regexs for mtv.com because of changes on the site.

hi again bluecop Smile

im looking at the MTVN categories, most popular etc. i'd actually like to press play on a whole category, but that didn't go over so well, to say the least - every video played for 2 seconds then jumped to the next. have you tried that?

i would like to play all videos at a certain resolution + codec, but i am only seeing max resolution and custom as options in plugin settings. how am i supposed to set this?

with quality selection, some videos only have Exit for quality and cannot be played. why is that?


- bornagainpenguin - 2009-11-10

First off I want to thank you for the excellent plugin! It works great for me using the latest GL build. I enjoyed it quite a bit last night.

I would like to chime in though with a request for a playlist mode of some kind--even if it just randomly selects ten videos from the various genres--it'd be great to have a classic 80's mode which just plays videos and defaults to high quality playback unless other options have been set. As much fun as it is using the plugin as a jukebox, it'd be much more fun if it could give me the option of just playing a few videos in a row without me having to fiddle with it. This way I could do like I used to do with MTV back in the day and have it on in the background, only pausing to figure out who and what that song I'd never heard before was that I liked...

But that's just me nitpicking. The plugin is quite functional for me as is! Thanks again for it!

--bornagainpenguin


- lkraav - 2009-11-10

bornagainpengui Wrote:First off I want to thank you for the excellent plugin! It works great for me using the latest GL build. I enjoyed it quite a bit last night.

I would like to chime in though with a request for a playlist mode of some kind--even if it just randomly selects ten videos from the various genres--it'd be great to have a classic 80's mode which just plays videos and defaults to high quality playback unless other options have been set.
--bornagainpenguin

this jukebox idea is great.


- BlueCop - 2009-11-11

lkraavl and bornagainpengui: i have been working on playlist functionality. unfortunately the way the plugin functions it doesn't grab the final rtmp values until it is activated to play.

so it basically just lists the videos and stores video id value needed to retrive the final rtmp url. The video when selected will just activate the plugin to retrieve and play the final url. This makes the plugin function quickly because it doesn't have to retrive the rtmp for every video before listing it as an item. so unfortunately the xbmc way of building playlists will not work because the item isn't really a video and just activates the script to play the video.

I made a Play All selections for mtv.com lists and artists lists. this way one could select an artists and play all the videos for them or just what is popular on mtv. the problem is that when I build and start the rtmp playlist it will freeze xbmc. it will play the first options audio but it completely crashes the rest of xbmc. This isn't an ideal solution even if it was working.

I have been trying to come up with something better. The related artists gives us a lot of power for semi-random continuous play. we could choose a seed artists and a number of branches. so it could play videos by the current artists and then n number of artists out from that. the higher the number the more random the videos. I am not sure the best way to do this with plugins.

also bornagainpengui brings up an interesting point of limiting videos to a certain time frame. I can think of several interesting options for era based playback.

I also want fav artists and videos so you can quickly access those favorites. which should be simple. I have to work on another project right now but those are my plans if I can figure a method to implement.


- BlueCop - 2009-11-11

lkraav Wrote:i would like to play all videos at a certain resolution + codec, but i am only seeing max resolution and custom as options in plugin settings. how am i supposed to set this?
Right now only the max res/bitrate work. For custom I need to add settings for the max values.
lkraav Wrote:with quality selection, some videos only have Exit for quality and cannot be played. why is that?
This could be a region problem. I plan to have better feed back to the user in these cases. Different videos are available in different regions. So if you could post where you are located, the aritst and video.


- karl10247 - 2009-11-21

Hi bluecop, im in UK using a PAL xbox. As per my previous post i noticed this
"python error" when playing some videos, which occurs when you play certain videos with the auto-quality option enabled - without the option selected these videos just show "exit" as mentioned in your last post.

So you know ALL metallica songs do this in the PAL region.

Good luck, this is an amazing plugin


- Enlightened - 2009-11-21

how do i change the backdrop. on the main menu it shows up right but then when i go into mtvn it pulls the backdrop from movies not music


- kiboy6 - 2009-12-07

Loving this script - thanks so much!

Actually quite revolutionary to be able to watch music videos on demand from the couch in this time where the actual music channels play precious few music videos!

Anyway, is there currently any way to use a proxy / some other solution to get ALL the videos to play and bypass the region restrictions?

Thanks Smile


- kiboy6 - 2009-12-09

One other suggestion about this beautiful script -

It would be truly phenomenal if the AMG scraper could somehow be integrated with this script for artist info. Ie. if watching a video you could pull up artist info scraped from, AMG!

I think that would be truly awesome- would it even be feasible or is there some reason why such functionality is impossible with a plugin?

Anyway - thanks so much again for this script Smile


- kiboy6 - 2009-12-17

Any thoughts on proxy potential for this?

I posted requesting a proxy solution for the UK BBC iplayer plugin as well, referencing a solution that worked for the CBS plugin:

Quote:Is there any reason why a similar proxy solution to the one lkraav added here(http://forum.xbmc.org/showpost.php?p...&postcount=110) to the CBS plugin (http://forum.xbmc.org/showthread.php?tid=43512) could not be added to the BBC Iplayer plugin?

Is there any reason you know of why a similar solution would not work if I (or anyone else more savvy than me!) tried to implement it?

Would something very similar work for this MTV plugin? I hope so - would definitely be happy to pay for a good proxy to get all those videos!


- kintarooe - 2010-01-27

Thanks for the excellent plugin, my wife is grateful. On a side note, we are experiencing issues with the video stream being dropped after a few seconds of playing. Any ideas why? Here is a log excerpt when it happens.

21:48:16 T:140239960025360 M:3148173312 DEBUG: GetNextMediaPacket, received: FLV tag(s) 65817 bytes
21:48:17 T:140239960025360 M:3148304384 DEBUG: GetNextMediaPacket, received: FLV tag(s) 68768 bytes
21:48:17 T:140239960025360 M:3148374016 DEBUG: GetNextMediaPacket, received: FLV tag(s) 63079 bytes
21:48:18 T:140239960025360 M:3148374016 DEBUG: GetNextMediaPacket, received: FLV tag(s) 68384 bytes
21:48:18 T:140239960025360 M:3148603392 DEBUG: GetNextMediaPacket, received: FLV tag(s) 68213 bytes
21:48:18 T:140239960025360 M:3148476416 DEBUG: GetNextMediaPacket, received: FLV tag(s) 71330 bytes
21:48:19 T:140239960025360 M:3148607488 DEBUG: ReadN, RTMP socket closed by server
21:48:19 T:140239960025360 M:3148607488 ERROR: ReadPacket, failed to read RTMP packet header
21:48:27 T:140239876126992 M:3148619776 WARNING: CDVDMessageQueue(audio)::Get - retrieved last data packet of queue
21:48:27 T:140239876126992 M:3148619776 DEBUG: CDVDPlayerAudio - CDVDMsg::GENERAL_EOF
21:48:27 T:140239951632656 M:3148619776 WARNING: CDVDMessageQueue(video)::Get - retrieved last data packet of queue
21:48:27 T:140239951632656 M:3148619776 ERROR: ffmpeg[28801910]: [h264] AVC: nal size 7011
21:48:27 T:140239951632656 M:3148619776 ERROR: ffmpeg[28801910]: [h264] no frame!
21:48:27 T:140239951632656 M:3148619776 ERROR: Decode - avcodec_decode_video returned failure
21:48:27 T:140239951632656 M:3148619776 DEBUG: CDVDPlayerVideo - video decoder returned error
21:48:27 T:140239876126992 M:3148619776 WARNING: CALSADirectSound::GetSpace - get space failed. err: -32 (Broken pipe)
21:48:27 T:140239960025360 M:3148619776 INFO: Process - eof reading from demuxer
21:48:27 T:140239960025360 M:3148619776 NOTICE: CDVDPlayer::OnExit()
21:48:27 T:140239960025360 M:3148619776 NOTICE: DVDPlayer: eof, waiting for queues to empty
21:48:27 T:140239960025360 M:3148619776 NOTICE: DVDPlayer: closing audio stream
21:48:27 T:140239960025360 M:3148619776 NOTICE: Closing audio stream


Same errors - CaptnJB - 2010-01-27

I am getting the same errors on my version, 0.7.3. Un-installed, re-installed the script. Thought maybe there was too much bandwidth last night being used from MTV, but it is doing the same thing this morning.

Location: Illinois, USA
20Mbit Cable Connection

I think our error lies here:

21:48:19 T:140239960025360 M:3148607488 DEBUG: ReadN, RTMP socket closed by server

But I don't know why they are closing the socket/connection.

Captain JB


- stacked - 2010-01-27

Something is up with the MTV rtmp servers. I had the same problem when trying to make a plugin for "The Daily Show", which uses the same servers.