NextPVR Forums
  • ______
  • Home
  • New Posts
  • Wiki
  • Members
  • Help
  • Search
  • Register
  • Login
  • Home
  • Wiki
  • Members
  • Help
  • Search
NextPVR Forums Public NextPVR Other Clients Old Stuff (legacy) MVP & NMT MVPMCX2 and other NMT stuff v
« Previous 1 … 27 28 29 30 31 … 37 Next »
ML2 Issues on PCH

 
  • 0 Vote(s) - 0 Average
ML2 Issues on PCH
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,670
Threads: 996
Joined: May 2006
#21
2008-03-29, 07:57 PM
I tested the patch and the first song is duplicated but the pls does play to the end, but ML2 doesn't start the sequence over after the media stop.

Martin
psycik
Offline

Posting Freak

Posts: 5,211
Threads: 424
Joined: Sep 2005
#22
2008-03-29, 07:57 PM
Martin, you could try this patch to queue file the same way sub does (for the first random)...

I have a fair chunk of other AddAudioFileToQueue entries i could change over to the same method, but this one is the one of the random playlist key (Ctrl-R).

Not sure what I'll do for the second random.

If I stored the first playlist and the new second playlist then passed it all back to PluginHelperFactory.PlayAudioFiles(queue)

Do you have enough control to be able to take my full playlist, and then, maybe an int with the track the user was up to? PluginHelperFactory.PlayAudioFiles(queue,currentTrack)

Ok so they'd have a stop and a restart, but only to the current track, not to the start of the whole playlist....
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 108,489
Threads: 784
Joined: Nov 2003
#23
2008-03-29, 08:12 PM
psycik Wrote:Ok, I could do that. Is there a queue object?? I never seen one - but I suppose once this was working I had no reason to look further.
Yeah, I know what you mean. Its only really the limitations of the PCH, and the way we're trying to work around them that causes this problem.

The class was System.Collections.Queue.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,670
Threads: 996
Joined: May 2006
#24
2008-03-29, 08:13 PM
psycik/sub that solves the first two problems but it doesn't restart and I'm not sure why exactly. However this would normally have sixty random songs which won't be too bad.

Code:
2008-03-29 16:04:42.233 VERBOSE [6] MusicLibrary2: Query returned 11 2008-03-29 16:04:42.233 VERBOSE [6] MusicLibrary2: Generating a random playlist of 60 length 2008-03-29 16:04:42.235 VERBOSE [6] MusicLibrary2: setting temporary playlist 2008-03-29 16:04:42.243 VERBOSE [6] MusicLibrary2: Adding tracks to pluginHelper 2008-03-29 16:04:42.244 VERBOSE [6] MusicLibrary2: Tracks queued, passing to plugin helper 2008-03-29 16:04:42.248 VERBOSE [6] getValue() loading new key/value into cache: /settings/RecordingsDirectory 2008-03-29 16:04:42.248 VERBOSE [6] getValue: /settings/RecordingsDirectory : C:\movies 2008-03-29 16:04:42.250 VERBOSE [6] Sending audio playback request: C:\movies\MVP000~1.PLS 2008-03-29 16:04:42.268 VERBOSE [6] MusicLibrary2: tracks added to playlist they should start playing.11 2008-03-29 16:04:42.269 VERBOSE [6] MusicLibrary2: called GetAudioPlaylist again: 11 2008-03-29 16:04:42.269 VERBOSE [6] OnKeyDown() complete 2008-03-29 16:04:42.269 VERBOSE [6] MVP sending frame 2008-03-29 16:04:42.324 VERBOSE [6] sendIncrementalFrame3 2008-03-29 16:04:42.336 VERBOSE [7] MVP playback requested: C:\movies\MVP000~1.PLS (shortname) 2008-03-29 16:04:42.336 VERBOSE [7] MVP playback requested: C:\mp3\A1\00 flac.mp3 (longname) .. 08-03-29 16:10:52.217 VERBOSE [6] MVP waiting for data 2008-03-29 16:10:53.869 VERBOSE [7] MVP Streaming Server received STOP message. 2008-03-29 16:10:53.869 VERBOSE [7] MVP STOP @2 2008-03-29 16:10:53.869 VERBOSE [7] MVP STOP @3 2008-03-29 16:10:53.869 VERBOSE [7] MVP STOP @4 2008-03-29 16:10:53.869 VERBOSE [7] MVP STOP @5 2008-03-29 16:10:53.869 VERBOSE [7] MVP STOP @6 2008-03-29 16:10:53.869 VERBOSE [7] MVP STOP @6.1 2008-03-29 16:10:53.870 VERBOSE [7] Song ended. Checking if there are more songs to play. 2008-03-29 16:10:53.870 VERBOSE [7] Playlist size: 0 current index: 0

Martin
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 108,489
Threads: 784
Joined: Nov 2003
#25
2008-03-29, 08:13 PM
Quote:Do you have enough control to be able to take my full playlist, and then, maybe an int with the track the user was up to? PluginHelperFactory.PlayAudioFiles(queue,currentTr ack)
Unfortunately no.
sub
Online

Administrator

NextPVR HQ, New Zealand
Posts: 108,489
Threads: 784
Joined: Nov 2003
#26
2008-03-29, 08:14 PM
I've got to shoot out for a bit, but I'll look into it further when I'm back.
psycik
Offline

Posting Freak

Posts: 5,211
Threads: 424
Joined: Sep 2005
#27
2008-03-29, 08:17 PM
But I suppose I might be able to store the current playlist, and the new one, and take off the tracks that have already been played..and then call PlayAudioFiles again.

You'd loose the ability to go back though.
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,670
Threads: 996
Joined: May 2006
#28
2008-03-29, 08:24 PM
You could always just raise the queue limit to 2000 or higher. For the Music Library adding 10 or 2500 didn't make much difference.

Martin
psycik
Offline

Posting Freak

Posts: 5,211
Threads: 424
Joined: Sep 2005
#29
2008-03-29, 08:29 PM
Well that's just it, all you'd need to do is go into the config and change you random minutes from 60 to lots more....
mvallevand
Online

Posting Freak

Ontario Canada
Posts: 56,670
Threads: 996
Joined: May 2006
#30
2008-03-29, 08:41 PM
I appears the limit is 1000

"MusicLibrary2: Generating a random playlist of 1000 length"

But if there are fewer in the database I guess ML2 doesn't try and do repeats.

Martin
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)

Pages (8): « Previous 1 2 3 4 5 … 8 Next »
Jump to page 


Possibly Related Threads…
Thread Author Replies Views Last Post
  Issues with FF and Seeking on HD .ts files specifically jt25741 10 5,293 2011-03-27, 08:28 PM
Last Post: Jaggy
  Some issues with Install jt25741 26 9,792 2011-03-27, 04:20 AM
Last Post: mvallevand
  ts timeline issues and direct playback through NMT zaldwaik 11 5,842 2010-06-29, 01:03 AM
Last Post: lairpost
  Popcorn Hour remote issues imagn 5 4,240 2009-10-31, 05:34 PM
Last Post: imagn
  new mvpmc2 HDMI issues imagn 5 3,209 2009-05-27, 01:02 AM
Last Post: mvallevand
  Fast Forward Issues srhutch 4 2,677 2009-02-18, 12:03 AM
Last Post: sub
  How do you deal with time sync issues? philly_phenom 19 8,933 2008-07-29, 10:51 PM
Last Post: mvallevand

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Designed by D&D, modified by NextPVR - Powered by MyBB

Linear Mode
Threaded Mode