Jump to content

Live TV


LeftForPlex

Recommended Posts

LeftForPlex

Has anyone been able to get live TV to work with serverWMC?  I successfully point it at my windows htpc, and can refresh the guide, but it complains it cannot see the recorded tv share.

 

Status: Unavailable (Recorded TV folder ‘\\192.168.1.230\Users\Public\Recorded TV’ not accessible. Please make sure the Recorded TV folder used by WMC for new recordings is a shared folder. Once done, the network path to this folder must be set in ServerWMC (see ‘Folders’ tab in ServerWMC).)

Link to comment
Share on other sites

Has anyone been able to get live TV to work with serverWMC?  I successfully point it at my windows htpc, and can refresh the guide, but it complains it cannot see the recorded tv share.

 

Status: Unavailable (Recorded TV folder ‘\\192.168.1.230\Users\Public\Recorded TV’ not accessible. Please make sure the Recorded TV folder used by WMC for new recordings is a shared folder. Once done, the network path to this folder must be set in ServerWMC (see ‘Folders’ tab in ServerWMC).)

How about mounting the drive on your unix machine and then pointing to it locally? Is that possible?

Link to comment
Share on other sites

LeftForPlex

How about mounting the drive on your unix machine and then pointing to it locally? Is that possible?

I don't see a place where I can configure the plugin to look locally for the shared drive.  It appears it automatically will look in that location.  Unless someone else can find a place to provide the location?

Link to comment
Share on other sites

mediacowboy

I don't use Linux but you have to setup your share drive on the windows machine running ServerWMC. It can be a share on the Linux machine that everyone has access to.

Link to comment
Share on other sites

LeftForPlex

I don't use Linux but you have to setup your share drive on the windows machine running ServerWMC. It can be a share on the Linux machine that everyone has access to.

My share is setup, but the Linux version of MB3 cannot see the share even though it is accessible.  I believe what needs to happen is the path for recorded tv needs to be configurable, so I can mount the drive on the linux machine, and then point MB3 to the local mount.

Link to comment
Share on other sites

AgileHumor

Linux sometimes has problems accessing the latest version of SMB on Windows.  The problem stems from that Linux SMB is few versions behind the latest Microsoft protocol.

 

Can you list the directory of the remote share OK from Linux? 

Link to comment
Share on other sites

LeftForPlex

Linux sometimes has problems accessing the latest version of SMB on Windows.  The problem stems from that Linux SMB is few versions behind the latest Microsoft protocol.

 

Can you list the directory of the remote share OK from Linux? 

 

Via using a named account I can.   I've enabled read permissions for NTFS/Share for everyone and guest.

 

I don't mind messing around with it more if someone has gotten this to work.  My fear is even if I can browse it from within Linux, that MBServer needs to be configured correctly to see the share, the same way we had to with the media folders.

Edited by Dravor
Link to comment
Share on other sites

breezytm

You simply need to provide your windows credentials. Nothing spectacular. See section 4.3 from the wiki http://wiki.xbmc.org/index.php?title=ServerWMC

 

Mine works fine. Never actually used it since I don't have any clients that support live tv but I do see my recordings on the web client.

 

By the way this doesn't have anything to do with file/folder permissions.

Edited by breezytm
Link to comment
Share on other sites

LeftForPlex

You simply need to provide your windows credentials. Nothing spectacular. See section 4.3 from the wiki http://wiki.xbmc.org/index.php?title=ServerWMC

 

Mine works fine. Never actually used it since I don't have any clients that support live tv but I do see my recordings on the web client.

 

By the way this doesn't have anything to do with file/folder permissions.

 

So MB3 would contact ServerWMC, and WMC tells MB3 which account to use?

 

I've got this setup already.... I was under the impression I would have to tell MB3 what account to use, so you are saying ServerWMC will tell MB3 which account to use?

 

Thanks!

Link to comment
Share on other sites

breezytm

So MB3 would contact ServerWMC, and WMC tells MB3 which account to use?

 

I've got this setup already.... I was under the impression I would have to tell MB3 what account to use, so you are saying ServerWMC will tell MB3 which account to use?

 

Thanks!

Maybe Krusty can give a better explaination on how it works but base on my observation swmc will allow all clients, windows, Linux, andriod and osx, access to that path as long as the credentials are valid. Live tv would not work as well if the credentials are invalid since the live tv buffer file lives in that folder.

Link to comment
Share on other sites

LeftForPlex

Hmmm I know the credentials are good as I can map the drive fine.  I even changed the share name so it wouldn't have a space in the name.

 

root@Tower:/mnt/cache/appdata/MBServer/logs# smbclient -L 192.168.1.230 -U tv
WARNING: The "null passwords" option is deprecated
Enter tv's password:
Domain=[MYBEDROOMDT] OS=[Windows 8.1 Pro with Media Center 9600] Server=[Windows 8.1 Pro with Media Center 6.3]
 
        Sharename       Type      Comment
        ---------       ----      -------
        ADMIN$          Disk      Remote Admin
        C$              Disk      Default share
        IPC$            IPC       Remote IPC
        Recorded TV     Disk
        RecordedTV      Disk
        Users           Disk
Connection to 192.168.1.230 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
NetBIOS over TCP disabled -- no workgroup available
 
 
This is from the unRAID hosts to the share, so it can see the share.
 
I know the account is good because I can mount it from command line:
 
root@Tower:/mnt/cache/appdata/MBServer/logs# mount -t cifs //192.168.1.230/Recor                                                   dedTV /mnt/tv  -o username=tv
Password:
root@Tower:/mnt/cache/appdata/MBServer/logs# df -k
Filesystem                   1K-blocks        Used  Available Use% Mounted on
/dev/sda1                      3908352      133120    3775232   4% /boot
/dev/sdb1                    122940780   122924388          0 100% /mnt/vmdisk
/dev/md1                    1953454928  1933342604   20112324  99% /mnt/disk1
/dev/md2                    3906899292  2932075240  974824052  76% /mnt/disk2
/dev/md3                    1953454928  1922156116   31298812  99% /mnt/disk3
/dev/md4                    1953454928  1015269984  938184944  52% /mnt/disk4
/dev/md5                    2930177100  2894019908   36157192  99% /mnt/disk5
/dev/md6                    3906899292  2573113544 1333785748  66% /mnt/disk6
/dev/md7                    3906899292  2503326252 1403573040  65% /mnt/disk7
/dev/md8                    2930177100  2877786144   52390956  99% /mnt/disk8
/dev/md9                    3906899292  3863437528   43461764  99% /mnt/disk9
/dev/sdf1                    156290872   154420328     131704 100% /mnt/cache
shfs                       27348316152 22514527320 4833788832  83% /mnt/user0
shfs                       27504607024 22668947648 4833920536  83% /mnt/user
/dev/loop8                    20971520     1707088   17375056   9% /var/lib/dock                                                   er
//192.168.1.230/RecordedTV   123728264    74531376   49196888  61% /mnt/tv
root@Tower:/mnt/cache/appdata/MBServer/logs# cd /mnt/tv
root@Tower:/mnt/tv# ls
Falling\ Skies_TNTHD_2014_08_31_09_58_00.wtv*
Homeland_SHOWHD_2014_09_01_20_44_00.wtv*
Sample\ Media/
TempRec/
TempSWMC/
The\ Last\ Ship_TNTHD_2014_08_31_00_14_00.wtv*
Thumbs.db*
desktop.ini*
root@Tower:/mnt/tv#
 
 
But yet in the webgui I still see:
 

Service: ServerWMC

Status: Unavailable (Recorded TV folder ‘\\192.168.1.230\RecordedTV’ not accessible. Please make sure the Recorded TV folder used by WMC for new recordings is a shared folder. Once done, the network path to this folder must be set in ServerWMC (see ‘Folders’ tab in ServerWMC).)

Version: 1.0.0.39, build: 1162checkmarkgreen.png Up to date!

 

Thanks!

Link to comment
Share on other sites

breezytm

Is your SWMC running on the same box as your WMC? If not then you'll need to use a user credentials for the computer running WMC.

 

Edit: you did mention that you are "[pointing] it at [your] windows htpc" so that answers my question. Use my second sentence.

Edited by breezytm
Link to comment
Share on other sites

LeftForPlex

Is your SWMC running on the same box as your WMC? If not then you'll need to use a user credentials for the computer running WMC.

SWMC is running on my WMC host.  Mediabrowser 3 Service is running on a unRaid Linux server via Docker.  Created an account named TV with permissions that work, as evidenced by the ability to mount the share from command line within linux.  SWMC is setup with the account name and password.

 

I know how SWMC and WMC work, I have had that working from my windows MB3 server since it's inception.  It's only the linux version that cannot access the share.

Link to comment
Share on other sites

linux doesn't support unc paths. i'll need to think about this more when i get a chance, but off the top of my head, i think what is going to have to happen is you're going to have to mount the unc path to a local share, and then the server wmc plugin is going to need a setting to tell it that the mounted share can be used in place of the unc path. 

Link to comment
Share on other sites

LeftForPlex

linux doesn't support unc paths. i'll need to think about this more when i get a chance, but off the top of my head, i think what is going to have to happen is you're going to have to mount the unc path to a local share, and then the server wmc plugin is going to need a setting to tell it that the mounted share can be used in place of the unc path. 

 

That makes total sense, my biggest question here was on whether this should work or not as is.  It sounds like it should not because of the UNC paths.  No biggie, my linux install for MB3 is still proof of concept, and I'll continue to use my Windows VM for now,

Link to comment
Share on other sites

breezytm

SWMC is running on my WMC host.  Mediabrowser 3 Service is running on a unRaid Linux server via Docker.  Created an account named TV with permissions that work, as evidenced by the ability to mount the share from command line within linux.  SWMC is setup with the account name and password.

 

I know how SWMC and WMC work, I have had that working from my windows MB3 server since it's inception.  It's only the linux version that cannot access the share.

 

Oh now I understand your setup. I was about to send you this from the MBS SWMC plugin page but @@Luke already responded.

 

 

ServerWMC app is required for this plugin, download installer here

The ServerWMC app needs to be running on the machine that has WMC installed and configured, but the WMC app does not need to be running to use the program.

 

If MediaBrowser Server (MBS) is running on a different machine than ServerWMC, make sure that the 'Recorded TV' folder that is used for new recordings is shared on the network (see 'Folders' tab in ServerWMC), and make sure the MBS machine can access this folder.

Edited by breezytm
Link to comment
Share on other sites

  • 1 month later...
mezz64

Any progress on this?  Unless i'm missing something it pretty much makes live tv via ServerWMC broken on a linux install.

 

linux doesn't support unc paths. i'll need to think about this more when i get a chance, but off the top of my head, i think what is going to have to happen is you're going to have to mount the unc path to a local share, and then the server wmc plugin is going to need a setting to tell it that the mounted share can be used in place of the unc path. 

Link to comment
Share on other sites

techywarrior

Glad I found this thread before posting. I just migrated my MBS setup to my unRAID machine and just ran into this issue.

 

Hopefully there is a resolution in the near future. Luckily for me it's not a priority. At least I now know it's not something I configured wrong.

 

One minor thing, there is a bug in the transcode error log. The file path at the end is stripping a slash.

/mnt/appdisk/mb3server/ProgramData-Server/ffmpeg/20140716/ffmpeg -fflags +genpts -async 1 -vsync -1 -i file:"\\MEDIAPC\Users\Public\Recorded TV\The Blacklist_KNSDDT_2014_10_13_21_58_00.wtv" 

...
...
...

file:\MEDIAPC\Users\Public\Recorded TV\The Blacklist_KNSDDT_2014_10_13_21_58_00.wtv: No such file or directory

Link to comment
Share on other sites

krustyreturns

Sorry I'm late to this thread, I hadn't seen it until @@Luke pointed it out to me today.  If you guys are still interested...

 

I just put up version of my serverwmc plugin (1.0.0.45) that adds a linux path parameter to the plugin's configuration page.  Once you have mounted wmc's rec tv folder share in your linux system, set this new field to the linux path to this folder.  

 

I can't test if it works, all I can test is that it doesn't break anything.  Hopefully you guys will test and provide feedback.  Thanks.

  • Like 1
Link to comment
Share on other sites

I'd be happy to test.  I'm not seeing 1.0.0.45 show up as available to install yet though, my server is still showing 1.0.0.43 as the latest release.

 

 

Sorry I'm late to this thread, I hadn't seen it until @@Luke pointed it out to me today.  If you guys are still interested...

 

I just put up version of my serverwmc plugin (1.0.0.45) that adds a linux path parameter to the plugin's configuration page.  Once you have mounted wmc's rec tv folder share in your linux system, set this new field to the linux path to this folder.  

 

I can't test if it works, all I can test is that it doesn't break anything.  Hopefully you guys will test and provide feedback.  Thanks.

Link to comment
Share on other sites

I am not.  I'm running the latest debian package through Docker.  I suppose I will just have to wait until the debian package catches up.

 

 

You have to be running the 'dev' build of MBS.  Are you?

Link to comment
Share on other sites

So I got anxious and decided to compile my own dev docker build from source so I could update SeverWMC.  Unfortunately, it seems it's still not using the correct path.  Log is attached.

Log.txt

Link to comment
Share on other sites

Ok, I put up the new version.  Its version 1.0.0.47.  Due to some weirdness on my side, you may have to re-enter the linux path in the config page of the plugin.

 

All seems to work well with 1.0.0.47.  I am able to stream both Live and Recorded TV with no issues.  Thanks for taking care of this.

  • Like 1
Link to comment
Share on other sites

techywarrior

Cool, will be nice to have live tv working again. Will the updated plugin require the latest server version or was that just for testing? I'd love to have live tv working but since I only have my daily use MB server I can't update to the dev builds.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...